-
... ng to a Pbind, for instance. // do nothing for 2 seconds (note: Rest(), dur: 2).play; // intersperse pauses in pattern Pbind(\note, Pseq([0, 4, 7, 11], inf), \dur, Pseq([2, 1, Rest(1)], inf) / 5).play; ⧉ ✔ Expressing rests in event patterns ...
-
... but repetition is controlled by time rather than number of repeats per item. // play repeated notes with a different rhythmic value per new pitch // using Pdup p = Pbind( // making 'n' a separate stream so that degree and dur can share it \ ...
-
... ((0..7).mirror), dur: 0.2]) ); sp.wait(0.4) }; sp.wait(1.6); sp.suspendAll; }).play ) ( // example 2: create 5 streams at 4 second intervals // then delete them in the order they were created Pspawner ({ | sp | var streams, stream; // star ...
-
... ain = PV_BrickWall(chain, SinOsc.kr([0.1, 0.11])); IFFT(chain) // inverse FFT }.play; ) // spawn some FFT based synths: ( SynthDef(\fftgrain, { |out, sustain = 1, rate = 0.2| var in, chain; in = WhiteNoise.ar(0.1).dup; chain = FFT({ LocalBu ...
-
... emp2.add(out); if((i+1) > (temp.size**2), {temp = temp2}); } }); ) r.play; r.stop; //simple musical examples (//disperser taken from https://scsynth.org/t/phase-rotation-fos/5575 SynthDef(\simpleSaw, { arg roo ...
-
... le) ( ~task.stop; ~task= Task({ ~num.do{|i| Ndef(("alarm"++i).asSymbol).play(fadeTime: ~fadeTime).set(\amp, 7/~num).postln; i.linlin(0, ~num-1, ~fadeTime*2, ~fadeTime/2).wait; }; }).play; ) //--stop alarms ( ~task.stop ...
-
... h the mouse { FincoSprottL .ar( MouseX .kr(20, SampleRate .ir)).poll(2) * 0.3 }.play(s); // Vary the parameter "a". // NB the parameter affects the amplitude, so this example is clipped { FincoSprottL .ar( SampleRate .ir, a: LFNoise0 .kr(1) ...
-
... [4,4,0,4,-1,2s],1), \ctranspose, -24, \dur, 8, ); ) ~melody1.play; ~melody2.play; ~bass1.play; ~bass2.play; ~vio1.play; ~viodrop.play; ~bdrop.play; ( t=TempoClock(155/60); Pspawner({ arg maestro; ma ...
-
... is going on e.makeLogWindow; ) // modify space s.boot; // boot server a[ \out ].play; // play here a[ \out ] = { PinkNoise .ar(0.1 ! 2) }; // set here b[ \out ].play; // play here too b[ \out ] = { SinOsc .ar(rrand(300, 400)) ! 2 * 0.1 }; / ...
-
... ur(16, Pbind(....)) behavior Psync(Pbind(....), 4, 16) behavior 6 beats Pfindur plays only 6 beats Psync rounds up to 8 beats (adds a two-beat rest) 18 beats Pfindur cuts off after 16 beats Psync cuts off after 16 beats maxdur may be omitte ...