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
stevehiehn#
very nice
kethinov5 replies#
Now we just need to wrap this in Electron so we can run it on desktop! ;)
hrdwdmrbl1 reply#
A cheap way to do it is to use Nativefier. It's not perfect but it's like a 80% solution.
xd19363 replies#
I think this was tongue-in-cheek. Nobody would actually want to take a native C/C++ Audacity, port it to WASM, and then wrap it in Electron to make it a "desktop app" again.
sitkack9 replies#
It would give you safety properties that native Audacity doesn't have. It would also make distribution much easier.

Continue this thread — 9 replies

r4vik#
also it would let you have a common target (wasm) for plugins so it doesn't matter if you're running on ARM/x86
ahilss2 replies#
On the M1 Mac I actually measured lower CPU usage during audio playback on WASM compared to the native desktop version which uses Rosetta. I'm not sure if the slowness is due to Rosetta or a performance bug on the Mac port.

Continue this thread — 2 replies

seydor#
Nah, we ll just run it remotely through Mighty app
pinato#
Thanks for the link, very good talk.
cush#
No, Tauri!
jijji2 replies#
The OP mentioned this is a part of Audacity, so hopefully you were being sarcastic, but you can already do apt install audacity if you want a desktop app, as it already exists in the form of Audacity
naikrovek#
you missed that it was a joke, it seems. a sad, realistic joke that makes me weep, instead of laugh.
zeandcode#
This can't be better, another level

All comments shown.