Lurker News
I originally developed a WASM port of wxWidgets for https://dj.app/. When it came time to open source wxWidgets-wasm, I decided to port another complex app as a test case, and Audacity seemed like the obvious choice. In the process, I also needed to write a new host API for PortAudio for playback and recording in the browser.

https://github.com/ahilss/wxWidgets-wasm
https://github.com/ahilss/portaudio-wasm
https://github.com/ahilss/wavvy

Comments (111) 39 threads

Earlier comments
ycombinete1 reply#
Is there a way to record the output audio? Audacity on windows has the WASAPI option, which my wife has to use a lot.
mkl1 reply#
Is File > Export not suitable? And if WASAPI can be used with your browser, won't it work for this? I don't really understand the use case though.
ycombinete1 reply#
I mean record system output audio. E.g. audio streamed to speakers. Desktop Audacity can capture this audio directly on Windows. The specific use case is extracting the audio from long videos, to upload to a transcription service.

It’s an edge case for sure. Since the video is hosted weirdly and no video downloaders I’ve tried can get the video downloaded with the audio.
So we simply stream the video normally in the browser, and capture the audio output directly into Audacity.

mkl1 reply#
Oh, I see, WASAPI as Audacity's input not output. Setting up a virtual microphone with something like VoiceMeeter might do it, since the browser would just see it as a microphone.

Continue this thread — 1 reply

qolop1 reply#
Are there terminal based keyboard first audio/video editors? Sort of like vim but for multimedia.
radarsat1#
probably not what you're looking for but you might enjoy reading about Snd if you're not familiar [0].

side note, such a fun list of abandoned projects here [1] and here [2] to browse through.. many sadly broken links but i remember checking some of them out back in the day. there was so much activity in the open source audio sphere back in the early 2000s.
[0]: https://ccrma.stanford.edu/software/snd/snd/snd.html
[1]: http://www.linux-sound.org/one-page.html
[2]: https://wiki.linuxaudio.org/apps/daw_apps

tambourine_man#
This is amazing. I’m sure many HN would appreciate an in depth exploration of the porting process.
elviejo#
I bow my head to you sir... You have done what I've dreamed of many times. Thank you.

Load more comments