[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] LinExp and LinLin--modulatable inputs?



Am I right in thinking that the srclo, srchi, dstlo, and dsthi inputs of LinExp and LinLin are not modulatable?

If I'm wrong, why doesn't this work:

b = Bus.control(s, 1).set(0);

(
a = {
    var depth, mod;
    depth = LinExp.kr(In.kr(b.index), 0, 1, 1.0, 1.2);
    mod = LinExp.kr(SinOsc.kr(0.5), -1, 1, depth.reciprocal, depth);
    SinOsc.ar(220 * mod, 0, 0.25)
}.play;
)

// no effect
b.set(1.0);