Author Topic: I take back what I said about writing DSP in C++, partially  (Read 1532 times)

Digital Larry

I take back what I said about writing DSP in C++, partially
« on: December 27, 2020, 11:50:39 AM »
Yes I did say something like "you'd be crazy to want to do this" but here I am doing it.  I had written VST using JUCE and Faust following some courses at  But that was last year and I kinda forgot, so I got the book from Will Pirkle.  He also has a web site and has developed some tools and libraries that will get you going quite a ways.

I'm writing a dual delay algorithm.  I mapped it out using an online diagrammer first.  Then you have to write the code.  Just going through it step by step is very educational.  A week ago I had no idea what any of this was and today I have my first functional delay VST with some filters.

I still think it's too difficult and error prone but:
- it is flexible to do almost anything you could imagine
- it takes a little getting used to
- the ability to target a single code base to Mac, PC, pedal, etc. is pretty cool.
- the code generation tools are a step in the right direction
- the visual GUI editor is very handy

I did this because I want to target code for the "Elk Pi"

So you have to make a headless VST plugin first, then cross compile it under Linux to target the Elk Pi OS.

I had previously used Faust and apparently it is possible to target Faust to the Elk board as well.

But I wanted to get a little more hands on in the code to make sure I understood the basics.
Digital Larry
Want to quickly design your own effects patches for the Spin FV-1 DSP chip?