Cabbage Logo
Back to Cabbage Site

Anyone build and used Cabbage on Raspberry Pi?

I have new project - synthesiser built out of surplus Raspberry Pi. It’s simple - I just took old RasPi, my USB MIDI keyboard, an cheap LCD display and rotary encoder and few wires and put it together. I used my old Cabbage plugins and just wrapped it by some Python code, which just let me to tweak synth parameters by knob and display them on LCD screen. Not finished yet but already works great.

I am thinking one step further. If RasPi has HDMI output and my plugins already have GUI, why not have an option to use GUI instead of hardware knob if user prefers it? Unfortunately I have very little experience with building C++ projects so I am asking if somebody already solved this.

Also - it seems that you need VST2 SDK which seems to be unavailable now (except some stolen copies). Do I need this to built when I am gonna use it in standalone mode anyway?

Technical details on my project later. Now just some hardware photos:


1 Like

No you don’t need the VST2 SDK if you are not going to be using plugins. But you will need to make come changes to the Cabbage build files. Clone the Cabbage repo and update to the latest Csound. Then edit the buildCababge script by taking out these lines.

Then try to build. It will fail. Let me know when you get that far and I can talk you through the rest :wink:

How did you wrap the plugins and the Python code?

It’s done via python-ctcsound package.

Sound generation is done by CSound. But its parameters are changed by python script, which uses input from knob and display parameter values on LCD screen.

See source code https://tildegit.org/severak/guinea-synth

Video demo will came later.

Ok, but you are also using some Cabbage plugins and some additional csd’s? I am trying to see the overall picture.
BTW, you can also use PySimpleGUI for a Python GUI (in stead of Tkinter)
And where do you need C++ for?

Basically I reuse my old plugins created with Cabbage and have new frontend for them - RaspberryPi-based hardware synth (based on python script mentioned earlier).

(Tkinter is used just for development of hardware-based synth on Windows)

The overall idea is to use Raspberry in both ways:

  • as hardware compoment without any monitor, mouse, etc (just with LCD display, one knob and USB MIDI controller)
  • as host for Cabbage-based GUI (this is why I asked for Cabbage build for Raspberry)

The great thing is, that CSD file can act both as hardware machine and VST plugin.