Hi
thank you for creating such an amazing tool. Its great for teaching purposes and the option to copy and paste from the screen is mind-blowing.
I was wondering if there are any plans on adding a voice recording option. in that case it would be a complete tool for teaching anything using the terminal and also step by step note-taking.
It would be nice, yes
Hmmm, this is a cool idea, but it would seem to be tricky to implement.
I was trying some ideas to do this. I want to record an audio from my live coding session with Tidalcycles.
I tried to launch jack_capture and asciinema rec at the same time with some kind of script, but not success yet. I think there is a way to do it. Then you can play both files at the same time with asciinema player and media player on html.
When I have something working, I will share the script here.
This would be great. It could be recorded separately from the .cast file, but uploaded together. The .cast file could reference the sound file. Naturally, a video output format could embed the audio. There are some terminal media players on github, not sure how they work, or whether they are just interfaces for say Spotify.
One of them I’ve just tested is https://github.com/mpv-player/mpv which can play music in the background of the now executing terminal mpv instance, with say:
> mpv wand\ of\ thorns.mp3 --no-video
â—‹ Image --vid=1 (mjpeg 500x500)
â—‹ Image --vid=2 (mjpeg 500x500)
â—Ź Audio --aid=1 (mp3 2ch 44100 Hz 128 kbps)
File tags:
Artist: Softheart
Album: we made a heart farm
Album_Artist: Softheart
Date: 2024
Title: wand of thorns
Track: 3
AO: [coreaudio] 44100Hz stereo 2ch floatp
A: 00:00:03 / 00:01:52 (3%)
Exiting... (Quit)
I plan to create Asciinema recordings for all the hundreds of dorothy commands, to showcase and explain their functionality, while at the same time using the cast files for testing.
For teaching, embedding the voice and also web-cam overlay to show the teacher’s face would be great. Although webcam overlay sounds even more tricky as I believe this player is very different since it allows to copy text from it.
It might be possible using two different files and thus two separate players, but syncing their state (time, play, pause).