Remix.run Logo
emursebrian 3 hours ago

The UI for loopmaster looks really good. The color scheme is really pleasing to look at and it is easy to jump right in and start editing stuff.

I've owned a bunch of different synthesizers and used a bunch of DAWs over the years and it was clear to me where I needed to make my edits to affect the signal chain.

We do real-time client-side audio processing in Emurse, and there were definitely a bunch of challenges to overcome there, so it would be interesting to hear more about what went into building the tool.

stagas 2 hours ago | parent [-]

Thank you!

Challenging would be an understatement. Had to create an editor from scratch in canvas to support the inline visuals, then a DSL that generates the code for each permutation of audio and scalar parameters, then the language itself which is Turing complete and controls the whole thing in a VM, choosing the optimal permutation for each case, and all the edits/recompilation be done in few ms to not distrupt the experience, all across a thread (the WebAudio AudioWorklet). The audio engine is in WebAssembly as it was the only way to get the performance needed. You can check out the code[0], the project is open-source!

[0]: https://github.com/loopmaster-xyz