Which gen tables or gen10, gen30. Work with the vco2 oscillator opcode
Vco2 gen tables
How to create user defined waveform using vco2init for vco2 possibly some syntax issues
instr 1
iwaveone chnget ("combobox")
if iwaveone == i(1) then
aOut vco2 p5, p4, ;sine
elseif iwaveone == i(2) then
aOut vco2 p5, p4, ;saw
elseif iwaveonw == i(3) then
aOut vco2 p5, p4, ;square
else iwaveone == i(4) then
aOut vco2 p5, p4, ;pulse
endif
outs aOut, aOut
endin
There is a pretty good example in the Csound manual. Have a look there.