Hi all,
Looking for help on my faust code getting v/oct working.
This works great on the faust web IDE minus the sample2hertz. I clearly do not understand what is going on here, I basically just copy/pasted the v/oct code from the “The Language” document.
declare owl "[voct:input]";
import("stdfaust.lib");
import("owl.lib");
tune = hslider("Tune[OWL:A]", 0, -2, 2, 0.01);
res = hslider("Main Brightness[OWL:C]",0,0,1,0.0001);
drv = hslider("Carrier Drive[OWL:D]",0.01,0.01,1,0.0001);
fold = hslider("Carrier Cutoff[OWL:B]",1,.5,25,0.001);
freq = sample2hertz(tune);
mst = os.sawtooth(freq);
modcarrier = mst : ef.transpose(40,3,12)*drv+mst*(1-drv/2) : fi.lowpass(4,fold*freq/1.64);
osc = os.CZsinePulseP(modcarrier,res);
stereo_osc = osc <: ef.stereo_width(0.35);
process = stereo_osc : _*0.8 , _*0.8;\
apparently something here has 7 inputs, I have no clue. It’s a coin toss on whether I don’t understand or missed something straightforward