-
... rtAliveThread { if(thread.isNil) { thread = Routine { // var testStream = Pseq([Pn(0, 200), Pn(1, inf)]).asStream; loop { // randomized sync times, to avoid contention at integer valued beats // stealing this idea from Scott Wilson's Beacon ...
-
... eams will be finished before replacements Part of: miSCellaneous Inherits from: Pn Takes Symbol args for later reference by the Streams, which will read from variables in the Environments of their instantiation. See PLx suite . In contrast ...
-
... ivPS, divBasePS, divTypePS, sizes, maxSize; pulse.isKindOf(Number).if { pulse = Pn(pulse) }; evPat = evPat.asArray; div = div.asArray; divBase = divBase.asArray; divType = divType.asArray; // div, divBase and divTape: size must be equal and ...
-
... 6.25], \legato , 0.2, \amp , Prand ([0.03, 0.05, 0.07], inf ) ]], hsIndices: [ Pn ( Pshuf ([0,0,1,1],1), inf ) ] ).play(c,q); ) // stop x, help synths still playing, producing values for y x.stop; // resume x x.play(c,q); // freeing the PH ...
-
... rts; pathParts = symbolized.collect(_.asString); pathParts.size.do { arg i; var pn; pn = rootPath +/+ pathParts[ (0..pathParts.size - i - 1)].join(thisProcess.platform.pathSeparator); (pn ++ ".*").pathMatch.do { arg path; var pathName; var ...
-
... rts; pathParts = symbolized.collect(_.asString); pathParts.size.do { arg i; var pn; pn = rootPath +/+ pathParts[ (0..pathParts.size - i - 1)].join(thisProcess.platform.pathSeparator); (pn ++ ".*").pathMatch.do { arg path; var pathName; var ...
-
... turned. If the array is an array of [p,q] it will return a string of "p1/q1 ... pn/qn" separated by char. [7,4].ratioPost; [ [1,1], [9,8], [81,64] ].ratioPost; [ [5,4], [4,3], [64,45] ].ratioPost(" -> "); lcd The lowest common denominator t ...
-
... st to be embedded. Also it will reshuffle when // wrapping around the boundary. Pnshuf : Pshuf { var <>local = true; var itemStream; *new { |list, repeats = 1, local = true| ^super.new(list, repeats).local_(local) } embedInStream { |inval| ...
-
... hould return patterns, each of which should be embedded in the stream Pembedn : Pn { embedInStream { |event| var stream, result; stream = pattern.asStream; repeats.value.do({ (result = stream.next(event)).notNil.if({ event = result.embedInS ...
-
... Stream, deltas; ~compactPatterns.if({ deltas = Array.new(~amps.size); dStream = Pn(~divCycle.asPattern, inf).asStream; thisDelta = totalDelta = 0; ~amps.do({ |step, i| (step > 0).if({ // there's a note here (thisDelta > 0).if({ deltas.add(t ...