-
... grate chips into pitch-based playback streams: //nice blended single tone ( p = Pbindf(Pcollect({|n| f.noteChips(n).choose ?? Rest(0.2)}, Pseq([f.notes.choose], inf)), \dur, Pfunc({|e| (e[\end] - e[\start])/f.buffer.sampleRate}), \amp, Penv ...
-
... ning events // To reuse patternChoices, the Pspawns wrap the base patterns in a Pbindf, which adds new values ( var patternChoices = ( up: { Pbind(\degree, Pseries(rrand(-4, 5), 1, rrand(4, 10)), \dur, 0.125) }, down: { Pbind(\degree, Pseri ...
-
... values of one key Source: FilterPatterns.sc Subclasses: Paddp , Pmulp See also: Pbindf , Pset Description Sets a value in an event stream until it ends, repeats this with new values until the value stream ends. Class Methods Psetp. new ( na ...
-
... f(\x, Pbind(\note, Pbrown(0, 6, 0.1, inf))); Pdef(\x).quant = 0; // no waiting. Pbindf(Pdef(\x), \dur, 0.03).play; Pbindf(Pdef(\x), \dur, 0.1, \ctranspose, 15).play; Pbindf(Pdef(\x), \dur, 0.3, \ctranspose, 2).play; // now change the defini ...
-
... top; m.stop; // EventPatternProxy can be used in multiple patterns ( x = Ppar([ Pbindf(Pn(a, inf), \gtranspose, Pdup(8, Pseq(#[0, 2, 0, 3], inf)) ), Pbindf(Pn(a, inf), \gtranspose, Pdup(8, Pseq(#[7, 4, 0, 3], inf)), \dur, 0.6 ), Pbindf(Pn(a ...
-
... nction : Object pass values from stream to stream Source: Patterns.sc See also: Pbindf Description Pchain(pattern1, pattern2, ... patternN) pattern1 <- pattern2 <- ...patternN Values produced by the stream of pattern2 are used as inval to t ...
-
... b, 6, 2, 5, 0, 3, 0, 2], inf)); x.play; // embed in other patterns: ( Ppar([ x, Pbindf(x, \ctranspose, 4) ]).play; ) x.set(\degree, Pseq([1b, 5, 1b, 4, 0], inf), \dur, 0.4); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Cla ...
-
... / how many? ~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 ~wri ...
-
... ]) + [0, 5]; p = Pbind( \dur, Pseq([0.4, 0.2, 0.2], inf), \note, PLn(\a) ); q = Pbindf(p, \note, PLn(\b)); x = Ppar([p, q]).play; ) // replace the lower event stream, new notes start after end of embedding Pseq ~a = Pseq([3, 2, 0]) + [0, -5 ...
-
... use PSdup as base for alterings // it takes the last event stored in PS(p) r = Pbindf(Padd(\midinote, PLrand([1,2,4,5]), PSdup(q)), \pan, -1); // as in general with event stream data sharing it's recommended to invent a small delta // betw ...