| Dear all, I'm presenting SuperCollider at a talk next week and wanted to show various demoes promoting a variety of things you can do with the software. I've enclosed one of my favourite examples below, a patch by James McCartney. I thought I'd ask if anyone else had patches they'd like me to show (I'll fully credit all contributions); they don't have to be by yourself, but just great examples you've come across and admire. Short ones possibly more accessible to an audience but I don't mind running some specialised examples if you want to point me to more involved things. I'll put the talk online after the presentation to share everything I've managed to fit in. cheers, Nick ( // strummable guitar // use mouse to strum strings { var pitch, mousex, out; pitch = [ 52, 57, 62, 67, 71, 76 ]; // e a d g b e mousex = MouseX.kr; out = Mix.fill(pitch.size, { arg i; var trigger, pluck, period, string; // place trigger points from 0.25 to 0.75 trigger = HPZ1.kr(mousex > (0.25 + (i * 0.1))).abs; pluck = PinkNoise.ar(Decay.kr(trigger, 0.05)); period = pitch.at(i).midicps.reciprocal; string = CombL.ar(pluck, period, period, 4); Pan2.ar(string, i * 0.2 - 0.5); }); LPF.ar(out, 12000); LeakDC.ar(out); }.play; ) |