How to use a lowpass2 opcode to filter a vco2 signal

Hello,
I am not guru, but I think you should use kvalues in your lowpass2 filter. .

aOut lowpass2 ain, kEnvF*kCutOff, kQ

You can also use a lfo.

kLfo lfo 50,  4  ; amplitude 50 at 4hz
kLfo =(kLfo+50.001)*0.5 ; this avoids crossing  value 0 and in case of cut-off initial value below 50, cut-off value will always be positive. 

aOut lowpass2 ain, kEnvF*(kLfo+kCutOff) , kQ

The cut-off will change from cut-off init value and cut-off init value + 50 .. Four times per sec

You can have a look at this post for inspiration if you wish :

1 Like