Cabbage Logo
Back to Cabbage Site

MIDI Out in Cabbage

Hey all,

I’m working on a MIDI sequencer and am having some trouble getting it to output via Cabbage. First question is, do MIDI output events show up in the console output? I guess that would be the first place to start, making sure that my calls to the midiout opcode are actually firing

Secondly, in csounds typically you select the interface with the -Q{num} flag. Is this needed in Cabbage or does selecting the MIDI output from the settings tab handle all of that? I’m using these csoptions

-n -d -+rtmidi=NULL -M0 --midi-key-cps=4 --midi-velocity-amp=5

Indeed, try adding -Q0. This works for me.

Note that the main Cabbage IDE does not output MIDI. If you wish to generate a stream of MIDI events, you’ll need to do so on the plugin level. So either export and use in a DAW, or open the Cabbage patcher and route your MIDI plugin to a synth there :+1: