FAUST Channel Mismatch, how to tackle it ?
-
How can I get rid of FAUST channel mismatch error ?
Input = 1, Output = 1 HISE expects 2 . How can I tackle it ?import ("stdfaust.lib"); f0 = vslider("Freq", 100,60,1000,0.1); Q = vslider("Q",1.0,1.0,3.0,0.01); dtune = hslider("Detune", 100,0,300,0.1); process = wa.bandpass2(f0, Q, dtune);
-
-
-
@Tania-Ghosh Excellent... Thank you. :)
-
-
@DabDab said in FAUST Channel Mismatch, how to tackle it ?:
@Tania-Ghosh Excellent... Thank you. :)
Ok to make sure the concept is obvious, your initial code is sending in a stereo signal, the faust module you are using expects a mono signal. So there are a couple of ways to fix this. you can pass in a mono signal to the faust module in your scriptnode network, or as @Tania-Ghosh demonstrates, there's the more elegant way of make your Faust network expect a stereo signal, by duplicating the faust call in the process node thus:
process = yourFaustProcess(and its params), yourFaustProcess(and its params);
see the comma there? its used here to duplicate the channels, so now there are two channels....stereo and all is right with the world..
-
-