Jason (jcreed) wrote,

Another little supercollider experiment. The Artist's Subjective Impression this time is that it is a gang of shy xylophone-whistly-flutey things eventually mustering up some Pachelbel.

The deal is that it buffers up all the notes played during a given measure, and then plays all of them at once at the beginning of the following measure, again an octave down.

The patch is white noise through a pitched resonance filter, with a rather soft-attack envelope.

(var on;
on = NoteOnResponder({ |src, chan, num, veloc| f.value(num); });
q = { on.remove; };)

(SynthDef(\my_osc, {
 |freq = 400|
var amp = 0.8 * EnvGen.kr(Env.adsr(0.1,0.7,0), Line.kr(1,0,0.7), doneAction: 2 );
 Out.ar(0, Splay.ar(Resonz.ar(WhiteNoise.ar(amp), freq, 0.025)));

x = Synth(\my_osc);
t = TempoClock.new();

f = { |z| Synth(\my_osc, [\freq, z.midicps]);  t.play({ Synth(\my_osc, [\freq, (z-12).midicps])}); };

Tags: music, supercollider

  • (no subject)

    Played some board games at the fb office with newly-arrived-to-nyc dan blandford and some friends-of-friends of his. Codenames and…

  • (no subject)

    This morning I suddenly had a memory of a game I used to play in the mid-late 90s over email. In it you "designed" animals by giving them, like, 4…

  • (no subject)

    Played some more Shenzhen I/O. The later puzzles are getting straight up hard. Had some fun optimizing the earlier ones, though.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded