Thanks, This works excellently. I haven't yet mastered using the alternate operators for Ugens. This one works kind of like an LFO, it seems. I will have more questions, as I have invested much time in using Chuck to try and make cheesy pop music. Graham On Wed, 8 Feb 2006, Ge Wang wrote:
Hi Graham!
Can someone give a working example of the Modulate Ugen?
One use is to multiply its output with a signal:
// patch into gain sinosc s => gain g => dac; Modulate mod => g;
// multiply 3 => g.op;
// set freq 220 => s.freq;
// set rate in hz mod.vibratoRate( 6.0 ); // set gain mod.vibratoGain( .2 ); // set random gain mod.randomGain( .1 );
// infinite time loop while( true ) 10::second => now;
There are other ways to use Modulate (perhaps at your own chosen rate).
Hope this helps!
Best, Ge! _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users