If you want to use the signaldisplay
widget you need to tell it which variables to dispaly from Csound, and the type of display it should use:
signaldisplay bounds(272, 25, 254, 93) channel("master") colour(255, 255, 255, 255) displaytype("waveform") colour:0(255, 255, 255, 255), signalvariable("a1")
Then you need to pass the signal you wish to display to Cabbage using the display
opcode in Csound.
a1 inch 1
a2 inch 2
a1*=3
outs a1*kMaster, a2*kMaster
display a1, .1, 1
I multiplied by three to give a better display. The last thing you need to do it set --displays
in your Csound flags:
<CsOptions>
-n -d -+rtmidi=NULL -M0 -m0d --displays
</CsOptions>
That should do the trick. I will update the documentation for this opcode. it’s not great