-
... boot; { Mix.new([PinkNoise.ar(0.1), FSinOsc.ar(801, 0.1), LFSaw.ar(40, 0.1)]) }.play ( play({ Mix.new(Array.fill(8, { SinOsc.ar(500 + 500.0.rand, 0, 0.05) })); })) ( play({ Mix.fill(8, { SinOsc.ar(500 + 500.0.rand, 0, 0.05) }); })) ⧉ ✔ help ...
-
... PF.ar(Saw.ar(200, 0.1), FSinOsc.kr(XLine.kr(0.7, 300, 20), 0, 3600, 4000), 5) }.play; ( { var ctl = HPF.kr(LFSaw.kr(5), SinOsc.kr(XLine.kr(0.07, 30, 20), 0, 35, 40)) ; SinOsc.ar(ctl * 200 + 500); }.play; ) ( { var ctl = HPF.kr(LFSaw.kr(5, 0 ...
-
... ently timed streams // per convention keys after \dur are the ones to be set // playing ends after end of last stream ( p = PmonoPar([ [ \dur, 1.0, \pan, Pser([-0.9, 0, 0.9], 8) ],[ \dur, 0.4, \freq, Pexprand(300, 1000, 24) ],[ \dur, 0.2, \ ...
-
... ter 2 beats a = Pbind( \degree, Pfintime(2.0, Pseries(0, 1, inf)), \dur, 0.25 ).play; // Pseries plays 5 notes. // Then, Pfintime pads with enough rests to reach 2.0 beats, // before Pn repeats the Pbind. a = Pn( Pbind( \degree, Pfintime(2. ...
-
... .ar(Saw.ar(200, 0.1), FSinOsc.kr(XLine.kr(0.7, 300, 20), 0, 3800, 4000), 0.3) }.play; { BRF.ar(Saw.ar(200, 0.5), MouseX.kr(100, 10000, 1), 0.3) }.play; // BRF on control signals: ( { var vib = BRF.kr(SinOsc.kr([1, 3, 10], 0, [1, 0.5, 0.25]) ...
-
... freq = Duty.kr(1/MouseX.kr(1, 40, 1), 0, a) * 30 + 340; SinOsc.ar(freq) * 0.1 }.play; ) // reset when mouse button is pressed ( { var a, freq; a = Dreset(Dseries(0, 2, inf), MouseButton.kr); freq = Duty.kr(1/MouseX.kr(1, 40, 1), 0, a) * 30 ...
-
... Def("help-Compander", { arg out=0, bufnum=0, soundBufnum=2; var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(bufnum, in); chain = PV_Compander(chain, MouseX.kr(1, 50), 1.2, 0.25); Out.ar(out ...
-
... dinote, PlaceAll([[60, 61], 70, [80, [81, 81.5], 82]], inf), \dur, 0.2 ); x = p.play; ) x.stop; // to distinguish subarrays from arrays to be taken as output use Refs, // as wrapping in another array wouldn't do ( p = Pbind( \midinote, Plac ...
-
... nce Methods Inherited instance methods Examples { LorenzTrig.ar(11025, 44100) }.play(s); // randomly modulate params ( { LorenzTrig.ar( 11025, 44100, LFNoise0.kr(1, 2, 10), 20, LFNoise0.kr(1, 1.5, 2), 0.02 ) * 0.2 }.play(s); ) // as a frequ ...
-
... 1, \x, Pseq([0, -1, 1], inf), \y, Pseq([0.5, -0.5], inf), \z, Pseq([0], inf) )).play; }; ) //change all particles ~particles.do{|p| p.mass= 2}; //change all particles' mass ~particles.do{|p| p.mass= 0.2}; //change all particles' mass ~parti ...