-
... a.stop; pattern.play(clock, protoEvent) returns: an EventStreamPlayer ( Pseq ([ Pbind ( \freq , Pn (500, 1)), Pbind ( \dur , Pn (0.1, 1)) ], 2).play; ) Playing single Synths from SynthDefs on the server The following play messages both caus ...
-
... .05; c=ExternalClock(TempoClock(2.1)).play; //playExt= play on External Clock p=Pbind.new.playExt(c); q= Pbind(\dur,Pseq([0.25,0.25,0.5],inf),\freq,Pseq([330,330,550],inf),\sustain, 0.1).playExt(c); q.mute; q.unmute; p.stop; q.stop; ~buffer ...
-
... 84]); x.set(\gate, 0); // stop the note // play some random notes ( p = Pbind( \instrument, \violin, \midinote, Prand( Scale.majorPentatonic.degrees, inf) + 60, \dur, 3, \legato, 1 ).play; )
-
... a.asStream; x.nextN(6); Pdefn(\mind, Pseq([1, 0, 1, 1, 0, 1], inf)); ( Pdef(\x, Pbind( \amp, Pmindread(Pdefn(\mind)) * 0.1, \note, -1, \dur, 0.2 ) ).play ) ( Pdef(\y, Pbind( \amp, Pmindread(Pdefn(\mind)) * 0.1, \note, 7, \dur, 0.2 ) ).play ...
-
... Splay.ar(snd); Out.ar(0, snd * 0.1 ! 2); }).add; ) ( Pbind( \instrument, "bell", \degree, Pseq([1,4,7,9], inf), \dur, 0.132, ).play )
-
... .clock.tempo = 1.3; // patterns and tasks are synchronized: ~out2.play; ~out2 = Pbind ( \dur , 1, \note , Pwhite (0, 7, inf )); p.clock.tempo = 3; p.clock.tempo = 1;
-
... doneAction:2); var z= SinOsc.ar(freq, 0, amp); Out.ar(out, z*e); }).add; ) ( b= Pbind( \instrument, \redMatrixMixerTest, \degree, Pseq([0, 1, 5, 4, 3, 4], inf), \dur, 0.25, \amp, 0.7, \out, Pseq([0, 1, 2, 3], inf) ).play; ) a.gui; //optiona ...
-
... tion to be sent to server s.sync; //Create an AlgaPattern and play it. //Unlike Pbind, AlgaPatterns use an Event to describe the parameter -> value mapping. a = AlgaPattern(( def: \sine, dur: 0.5 )).play(chans: 2, scale: 0.7); }); ) //Inter ...
-
... , 11] t.ratios; // [1, 1.0594630943591, 1.1224620483089, 1.1892071150019, etc.] Pbind(\scale, Scale.major(t), \degree, Pseq((0..7) ++ (6..0) ++ [\rest], 1), \dur, 0.25).play; // use non-standard tuning t = Tuning.just; t.semitones; // [0, 1 ...
-
... ) // Then we can use it in a pattern: ( TempoClock.default.tempo = 1.2; Ppar([ Pbind( \instrument, \help_mdapiano, \degree, Pseq([ 0, 7, -5, 7, 0, 5, -7, 5, -2, 5, -7, 5, -2, 3, -9, 3, 0, 7, -5, 7, 0, 5, -7, 5, -2, 5, -7, 5, -2, -3, -4, -5 ...