Previous page: Daily Crap 2009-05-14
Next page: Daily Crap 2009-05-18


Daily Crap 2009-05-16

  1. Live-graining. It's like the delay line script, except it mixes everything up. I recommend using headphones or a mic that's not too susceptible to feedback:

    fun void grain(dur length, dur offset) {
        adc => Delay d => Envelope e => dac;
        offset => d.max => d.delay;
        length / 2. => e.duration;
        offset => now;
        e.keyOn(1);
        length / 2. => now;
        e.keyOff();
        length / 2. => now;
    }
    
    300::ms => dur grainsize;
    5 => float jitter;
    
    while(grainsize/2. => now) {
        spork ~ grain(grainsize, Std.rand2f(0, grainsize/second * jitter)::second);
    }

Comments

Click here to view the comments on this post.