-
... r(sf, MouseY .kr(0.01, 20, 1), 0.01); f = f * 10 + 500; SinOsc .ar(f, 0, 0.2) }.play; ) // mouse x controls modulation rate // mouse y controls gravity ( { var f, sf, g; sf = LFNoise0 .ar( MouseX .kr(1, 100, 1)); g = MouseY .kr(0.1, 10, 1); ...
-
... req: lfn.range(300, 1000), rq: 0.01, mul: 20); Pan2.ar(in: bpf, pos: lfn); }.play; {LPF.ar( in: WhiteNoise.ar(mul: 0.2), freq: LFNoise1.kr(1).range(100, 1000) ) }.play; )
-
... pos - pan position, -1 is left, +1 is right level - a control rate level input play({ LinPan2 .ar( PinkNoise .ar(0.4), FSinOsc .kr(2)) }); SynthDef ( "help-LinPan2" , { Out .ar(0, LinPan2 .ar( FSinOsc .ar(800, 0, 0.1), FSinOsc .kr(3))) }). ...
-
... k, s); { SinOscFB.ar(Rand(400.0, 300), Line.kr(1, 3, 10, doneAction:2)) * 0.1 }.play; a.start; // hit cmd-period, wait a little, then: { SinOscFB.ar(Rand(400.0, 3000), Line.kr(3, 1, 10, doneAction:2)) * 0.1 }.play; a.stop; // dev notes // m ...
-
SFPlay { classvar <playfunc, <buffer; *play {arg path, starttime = 0, outbus = 0, server; var c, soundfile, info, numChannels, numFrames, sampleRate, duration; c = Condition.new; server = server ? Server.default; path.notNil.if({soundfile = ...
-
... MKtl(\nocoast).device.midiOut, \chan: 0, \midinote: rrand(50, 100), \dur: 0.1).play // midiB (\type: \midi, \midiout: MKtl(\nocoast).device.midiOut, \chan: 1, \midinote: rrand(10, 40), \dur: 0.1).play ////// just a pattern... Pdef(\player) ...
-
... ar(Impulse.kr(MouseY.kr(1,50,'exponential')),MouseX.kr(0.01,1,'exponential')))}.play //avoid DC offset (default gamma is 1.0, listening to x only, so take off gamma {Out.ar(0,Pan2.ar((Brusselator.ar(Impulse.kr(MouseY.kr(1,50,'exponential')) ...
-
... lank.ar(`[[800, 1071, 1153, 1723], nil, [1, 1, 1, 1]], Impulse.ar(2, 0, 0.1)) }.play; { DynKlank.ar(`[[800, 1071, 1353, 1723], nil, [1, 1, 1, 1]], Dust.ar(8, 0.1)) }.play; { DynKlank.ar(`[[800, 1071, 1353, 1723], nil, [1, 1, 1, 1]], PinkNoi ...
-
... Maths2.ar(MouseX.kr, MouseY.kr, 0.2, 1-MouseButton.kr(lag:0.001))[0]), 0, 0.1)}.play //notice how I am taking the [0]th channel of the Maths and ignoring the other outputs ⧉ ✔ The same thing but with no looping, just MouseButton triggers: a ...
-
... q((0..7).mirror), dur: 0.2]) ); sp.wait(0.4) }; sp.wait(1.6); sp.suspendAll; }).play ) ( // example 2: create 6 streams at 4 second intervals // then delete them in the order they were created Pspawner({ |sp| var streams, stream; // start p ...