@sletz did bend
use to work differently in FAUST?
It should be noted that currently, our implementation works like this:
if you declare a bend
parameter, it will be assigned the pitch bend ratio which can be immediately multiplied with the frequency.
So currently we would do:
bend = hslider("bend", 1, 0.25, 4, 0.01);
which returns 1 for no bend, 0.5 for half-bend down (-1 octave) and 4 for full-bend up (+2 octaves)
It seems this corresponds to:
bend = ba.semi2ratio(hslider("bend[midi:pitchwheel]",0,-2,2,0.01));
in the FAUST documentation.
We could update our implementation, I guess we only need to add [midi:pitchwheel]
. And [midi:ctrl]
would be nice to have too.