Hacker News new | ask | show | jobs
by thw_9a83c 32 days ago
Amazing job! The live editor capabilities are really well-thought. I've inspected the code briefly [1] and it seems that there is a fairly sophisticated domain specific parser which handles live updates, history tracking and WebAssembly hot reaload. It also uses AssemblyScript [2] as an intermmediate language.

I wonder whether all if this was implemented manually or with the help of LLMs. In either case, author has my respect.

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

[2]: https://www.assemblyscript.org/

1 comments

Tysm! Technically, about the audio engine, the language is fully Turing complete, compiling bytecode which then gets swapped out in realtime and executed by a VM running in WebAssembly/AssemblyScript. All the gens/effects/filters are implemented in a custom DSL that gencodes AssemblyScript classes with all the permutations of parameters whether they're scalar or audio inputs in order to achieve the maximum performance possible. I had a lot of help from the LLMs but all of the components had been previously implemented by hand as well multiple times in previous versions, so I had a clear direction. If you have any questions feel free to ask, we also have a Discord you can find it in the homepage at the footer.