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; }
Hi, I just ran the patch for 10 minutes without it crashing. A very cool sounding patch! Could you tell us what OS and what version of ChucK you are using? I just ran it on OSX 10.4.5 with 1.2.0.4. --art On 8-Mar-06, at 4:32 PM, eun.sung@no-log.org wrote:
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; }
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
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; }
Looks like it's doing a random walk with the sitar frequency. When temp goes beyond reasonable values - like when it gets below 30 hz or so - the model calls for a bigger delay than is ever expected, hence the error message. Probably want to detect when temp is getting too big/small, and do something in those cases... Ge!
thanks keeping the frequency value under 1600 works great
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; }
Looks like it's doing a random walk with the sitar frequency. When temp goes beyond reasonable values - like when it gets below 30 hz or so - the model calls for a bigger delay than is ever expected, hence the error message. Probably want to detect when temp is getting too big/small, and do something in those cases...
Ge! _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (3)
-
Adam Tindale
-
eun.sung@no-log.org
-
Ge Wang