Page 1 of 1

Sunvox and AudioWorklets

Posted: Mon Apr 02, 2018 9:10 pm
by mrev
Saw the emscripten port (awesome) http://warmplace.ru/soft/sunvox/jsplay/

Wondering Nightradio if you'd ever consider porting to AudioWorklets? Runs in a separate thread from gui.

https://googlechromelabs.github.io/web- ... index.html
Some ported Juce synths https://www.webaudiomodules.org/wamsynths/

For either emscripten or worklet, would Sunvox offer an api in the same way (I think) the DLL offers? Trying to understand how possible it would be to create a javascript interface in the browser like Queries has made with Radiant Voices.

Thanks

Re: Sunvox and AudioWorklets

Posted: Tue Apr 03, 2018 11:24 pm
by queries
This doesn't directly answer your question mrev, but last year I started a port of Radiant Voices to JS... in anticipation of being able to manipulate sunvox files in JS and then send them directly to the SunVox JS player. Sounds like we might be looking forward to the same thing. :)

https://github.com/metrasynth/radiant-voices-js

It's not nearly as complete as the Python version, and I had to pause work on it for a few months... but there is some progress at least!

Re: Sunvox and AudioWorklets

Posted: Wed Apr 04, 2018 12:39 am
by mrev
Hi Queries, yes is pretty rad to imagine Sunvox on the web!

I took a look at radiant js, I like the immutable reimagining, also saw the react wrapper you started. By 'manipulate sunvox files in JS and then send them directly to the SunVox JS player', what would this look like in the browser? With the emscripten version thats up now, would it be that radiant-js would modify served sunvox/sunsynth files the same way the node version does to local files, and then somehow load the modified file into sunvox-emscripten?

Thanks