Closed discipleofbert closed 10 months ago
When you make a vslider for "shift (semitones)", the init, min, max, and step must be compile-time constants. Your code uses vsliders for the min and max, but sliders aren't constant. Does this code satisfy your goal?
declare name "whammy";
import("stdfaust.lib");
whammy = hgroup("Whammy", ef.dryWetMixer(vslider("wetAmount[style:knob]", 1, 0, 1, 0.05),
ef.transpose(1000, 10,
(vslider("shift (semitones)", 0, -24, 24, 0.01) : si.smoo)
)
));
process = whammy;
I put a si.smoo in there too.
Actually, let's talk more in the discussion (https://github.com/grame-cncm/faust/discussions/993) instead of this issue.
Discussed in https://github.com/grame-cncm/faust/discussions/993