News for hackers. Stuff that matters.
Re:Functional, declarative audio applications by fancy_hammer on Thursday July 01, 2021 @04:28AM (#27697311)
Nice work!

Is voice triggering with midi sample accurate?

What's the story for building VST plugins? How much c++ glue code do you need to write?

The amount of effort required to build a VST plugin is very off-putting. IMHO it's hard to justify doing unless it's a commercial project. I think we would see more idiosyncratic and creative plugins if building one took weeks instead of years.

Re:Functional, declarative audio applications by trypwire on Thursday July 01, 2021 @08:24AM (#27698399)
Thank you!

As shown in the introduction video, with the `core.on('midi')` callback, MIDI voice triggering is not sample accurate. It's quite hard to invoke arbitrary user code in js and still hit a sample accurate deadline!

That said, the embedded runtime itself supports sample accurate interaction in this way if you're willing to get into a bit of C++.

Currently, building a VST plugin requires just about as much C++ glue as it takes to write the interface. The next step for Elementary though is a solution which addresses that bit too. My goal in the near term is a platform to write VSTs with no C++ at all.

I agree very much with your last comment there, and that is a major impetus for building this tool. I'd love to see what kind of plugins come out when it's that much quicker and easier!