What's the proper way to select a qu.quantize scale at runtime?
I'd like to have a scale selector that can be changed while playing,
something of the likes:
sc = hslider("scale", 0, 0, 7, 1);
scale(x) = ...the scales...
qu.quantize(root, scale(sc));
Thanks
Hi, Roger.
Since the ratios list appears to be a compile-time argument, I would select
among predefined quantised functions:
import("stdfaust.lib");
f = hslider("f[scale:log]", 20, 20, 2, .001);
selector = hslider("scale", 0, 0, 1, 1);
q1 = qu.quantize(440, (1, 9/8, 81/64, 4/3, 3/2, 27/16, 24