-
... t method, which // forwards softPut to their envirs: Pdef(\test, Pbind(\degree, Pseq((0..7), inf))).play; Pdef(\test).set(\amp, 0.03) Pdef(\test).envir.softPut(\amp, 0.06); // no, too big Pdef(\test).envir.softPut(\amp, 0.06, 0.1); // ok wi ...
-
... arg out=0; Out.ar(out, PinkNoise.ar(0.1)) }).play; ) ⧉ ✔ Pattern Pbind(\degree, Pseq([0, 1, 2, 3],inf)).play; ⧉ ✔ Conclusion Polymorphism allows you to write code that does not assume anything about the implementation of an object, but rath ...
-
... amp, pan)); }).store(); ); /* // glokenspiel ( Pbind( \instrument, \bell, \fs, Pseq( (60..20), inf).midicps, \t60, Pwhite(1, 100), \dur, 1 ).play; ) // xilophone ( Pbind( \instrument, \bell, \fs, Pseq( (80..92), 1).midicps, \t60, 1, \pitch ...
-
... [j], nextDivTypes[j] ) }{ Pbindf( Pfin(nextEvPatDurs[i].size, evPats[i]), \dur, Pseq(nextEvPatDurs[j]) ) } ) } ); } }{ sp.suspendAll; break.value; }; queueCount = queueCount + nextQueueStep; pulseCount = pulseCount + nextPulseStep; nextPuls ...
-
... nd Task: -play pattern.play (clock, protoEvent) returns: an EventStreamPlayer ( Pseq([ Pbind(\freq, Pn(500, 1)), Pbind(\dur, Pn(0.1, 1)) ], 2).play; ) ⧉ ✔ See Pattern: -play Playing single Synths from SynthDefs on the server The following p ...
-
... .1, 0, 30, 100) }; ~lfo2 = { LFClipNoise.kr(3, 100, 200) }; ~lfo3 = StreamKrDur(Pseq([Prand([530, 600],1), 700, 400, 800, 500].scramble, inf) / 3, 0.2); ~out.xmap(\ffreq, ~lfo2); ~out.xmap(\ffreq, ~lfo); ~out.xmap(\ffreq, ~lfo3); // argumen ...
-
... them ( p = Pbind( \dur, 0.5, \instrument, \source, \note, Pshuf((0..11), inf) + Pseq([[0.2, 14.2], [0, 4], [0, 4]], inf), \octave, Pwhite(3, 6), \out, Pseq([b, a, a], inf) // here we do fx sequencing ).play ) p.stop // we need to do cleanup ...
-
... any? ~events.choose.play; // play a random one // play back as a pattern Pbindf(Pseq(~events.copy.scramble, inf), \rate, 1).play; Pbindf(Pseq(~events.copy.scramble, inf), \rate, 2, \dur, 1.4).play; // if you need, write to files ~writeToFil ...
-
... = { | symbol | Pbind( \instrument, \simple_sine, \dur, 0.333, \freq, Pseq( ( 440 * Scale.at( symbol ).ratios ++ [ 880 ] ) ) ).play }; SynthDef(\simple_sine, { | out = 0, amp = 0.25, freq = 110 | var snd, env, envctl, en ...
-
... ostln; [(index: i)] }; */ i = i + 1; }, false); patternList = allValues.collect(Pseq(_, inf)); indexPattern = Prout({|inval| super.embedInStream(inval) }).collect { |x| x.at(\index) }; parallel = PparSwitch(patternList, indexPattern); } get ...