[chuck-users] Simple percussive sound synthesis

Joe McMahon mcmahon at ibiblio.org
Sun Apr 20 03:16:34 EDT 2008


On Apr 19, 2008, at 6:52 PM, eduard aylon wrote:

> Impulse imp => ResonZ f /*=> WvOut file*/ => JCRev rev  => dac;
> //"water_drops.wav" => file.wavFilename;
> 50. => f.Q;
> 1000. => float fund_freq => f.freq;
> 50 => f.gain;
> .2 => rev.gain;
> 0.2 => rev.mix;
> now => time later;
> Phasor line => blackhole;
> 100. => line.freq;
> while( true )
> {
>      1. => imp.next;
>      fund_freq*(0.01+Std.fabs(line.last())) => f.freq;
>      Std.rand2f(100., 1000. )::ms => now;
> }

This is awesome. I have 3 running at different f,freq values -  
instant pseudo-Babbitt! (400, 1000, and 4000, in case you want to try  
it yourself).

  --- Joe M.


More information about the chuck-users mailing list