[chuck-users] setDelay too big !

eun.sung at no-log.org eun.sung at no-log.org
Wed Mar 8 19:32:08 EST 2006


hi list
i have some crash with this patch with this output:

[chuck](via STK): DelayA: setDelay(1856.88) too big!

i tried to debug, routing my signal without the PitchShift and/or without
the JCRev, but it crashes anyway
i guess it's because of the JCRev unit

or perhaps it's because of my use of manipulating time, which could be not
really academic...

here's the patch

Sitar s => PitShift sh => JCRev r => dac;

//init rev, gains
0.9 => r.mix;
0.6 => s.gain;
0.5 => sh.gain;

//lfo pitchShift freq
sinosc shFreq => blackhole;
1.0 => shFreq.freq;

//init sitar freq
280 => float temp;


while (true){

        1.0 => s.noteOn;

        //variation pitchShifting
        (shFreq.last() * 10 ) => sh.shift;
        std.rand2f(0.0, 0.8) => sh.mix;

        (std.randf() * 20) +=> temp;
        temp => s.freq;
        10::ms => now;
}



More information about the chuck-users mailing list