1 // uses the Dinky class
2 // (run dinky.ck before running this, for now...)
6 // NOTE: in a future version of chuck...
7 // 1. we will have better dependency/include system
8 // 2. we can extend Dinky from UGen, so we don't have
9 // to use a 'connect( UGen )' function in Dinky
11 // instantiate a Dinky (not connected yet)
14 // connect the rest of the patch
15 Gain g => NRev r => Echo e => Echo e2 => dac;
20 // set up delay, gain, and mix
21 1500::ms => e.max => e.delay;
22 3000::ms => e2.max => e2.delay;
29 // (in a future version of chuck, Dinky can be defined as an UGen)
31 // set the radius (should never be more than 1)
34 // an array (our scale)
35 [ 0, 2, 4, 7, 9, 11 ] @=> int hi[];
41 45 + Std.rand2(0,3) * 12 +
42 hi[Std.rand2(0,hi.cap()-1)] => imp.t;
47 // let a bit more time pass