Sunvox and AudioWorklets

Multi-platform modular music creation studio
Post Reply
mrev
Posts: 46
Joined: Mon May 28, 2012 6:24 am

Sunvox and AudioWorklets

Post 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
User avatar
queries
Posts: 316
Joined: Tue May 10, 2016 9:51 pm

Re: Sunvox and AudioWorklets

Post 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!
mrev
Posts: 46
Joined: Mon May 28, 2012 6:24 am

Re: Sunvox and AudioWorklets

Post 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
Post Reply