-
... ited instance methods Examples { TwoPole.ar(WhiteNoise.ar(0.005), 2000, 0.95) }.play { TwoPole.ar(WhiteNoise.ar(0.005), XLine.kr(800, 8000, 8), 0.95) }.play { TwoPole.ar(WhiteNoise.ar(0.005), MouseX.kr(800, 8000, 1), 0.95) }.play ⧉ ✔ helpfi ...
-
... { SOMAreaWr .kr(b, [-0.33333333].dup(~numdatadims), [10, 10], ~netsize, 2, 1)}.play; x.free; x = { SOMAreaWr .kr(b, [-0.15].dup(~numdatadims), [2, 18], ~netsize, 2, 0)}.play; x.free; x = { SOMAreaWr .kr(b, [0.5].dup(~numdatadims), [6, 6], ...
-
... .ar( in: snd, freq: LFNoise2.kr(1).range(lofreq, hifreq) ); snd = Splay.ar(snd); Out.ar(0, snd); }).add; SynthDef("plucking", {arg amp = 0.1, freq = 440, decay = 5, dampen = 0.1; var env, snd; env = Env.linen(0, de ...
-
... g to 500Hz { FreqShift.ar(SinOsc.ar(100), XLine.kr(1, 500, 5), 0, [0.1, 0.1]) }.play(s); // shifting a complex tone by 1 Hz rising to 500Hz { FreqShift.ar(Klang.ar(`[[101, 303, 606, 808]]), XLine.kr(1, 500, 10), 0, [0.1, 0.1]) }.play(s); // ...
-
... OutBus Inherited class methods Instance methods Instance Variables config ampSl playBut setOutBox fadeBox Some Methods makeViews makeVol makeNameView makePlayOut makeFade setDefaults accepts getState checkUpdate Inherited instance methods C ...
-
... ds Examples // modulate frequency { Pulse.ar(XLine.kr(40, 4000, 6), 0.1, 0.2) }.play; // modulate pulse width { Pulse.ar(200, SinOsc.kr(0.2).range(0.01, 0.99), 0.2) }.play; // two band limited square waves thru a resonant low pass filter { ...
-
// requires SimpleMIDIFile.sc from wslib + SimpleMIDIFile { playNotesWithFunction { |function, channel, track, clock, doneAction| // function is called every time a note is played // passed arguments are: // noteNr, velo, dur, upVelo, track ...
-
... .01, 1.0, 1), 0.01); Pan2.ar( Ringz .ar(t * 10, 1200, 0.1), MouseX.kr(-1,1)); }.play; ) // mouse x controls step noise modulation rate // mouse y controls gravity ( { var t, sf, g; sf = LFNoise0 .ar( MouseX .kr(0.5, 100, 1)); g = MouseY .kr ...
-
... .ar( in: snd, freq: LFNoise2.kr(1).range(lofreq, hifreq) ); snd = Splay.ar(snd); Out.ar(0, snd); }).add; SynthDef("plucking", {arg amp = 0.1, freq = 440, decay = 5, dampen = 0.1; var env, snd; env = Env.linen(0, de ...
-
... 1].wait; }; RedMst.stop; (this.class.name++": sequence finished").postln; }); } play { task.reset; task.play(RedMst.clock); } stop { task.stop; RedMst.stop; } pause { task.pause; } resume { task.resume; } }