[chuck-users] example use of Modulate Ugen
Ge Wang
gewang at CS.Princeton.EDU
Wed Feb 8 20:59:55 EST 2006
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!
More information about the chuck-users
mailing list