-
... (i: \saw, m: [95, 96, 97], d: 0.8); // define sequence ~p = "aab" ) // symplay wraps into a PsymNilSafe // PLseq defaults to repeats = inf and refers to 'p' in current Environment, // thus the String "aab", the EventStreamPlayer should als ...
-
... also, for example, stop at the end: // control.onEnd = { control.stop; }; // Or wrap back to the start: control.onEnd = { control.seek(0); }; // Gimmick example: Let's add "our own" transport control button // that seeks somewhere random, a ...
-
... mes( startPos ) }; if( loop ) { actualStartFrame = (startFrame + addStartFrame).wrap( 0, this.endFrame ); } { actualStartFrame = startFrame + addStartFrame; }; buf = Buffer.alloc(server, diskBufferSize.asInteger, numChannels, { arg buffer; ...
-
... from legitimate postln and postcs calls. To print multiple values at one time, wrap them in an array before using .debug or .postcs. Note that if any of the array members are collections, postln will hide them behind the class name: "an Ar ...
-
... l be 2, not 1. In some cases, the 2 may not be acceptable. That can be fixed by wrapping the Or in another comparison -- ((x > 0) + (y > 0)) > 0 -- because 2 > 0 evaluates to 1! - Not : I prefer to negate a condition by comparing it to zero ...
-
... ou selected % soundfiles for % units.\nUse them only for the first % units,\nor wrap around for all?".format( paths.size, vws[ \val ].size, paths.size ), [ "cancel", "first %".format( paths.size ), "all" ], [ {}, { paths.do({ |item, i| vws[ ...
-
... esDo { |key, value| if(~shouldNotIndexPerDrum.(key).not) { event.put(key, value.wrapAt(i)); }; }; event = ~commonParamsStream.next(event); event = ~drumSelector.next(event); if(i < (inEvent[\bufIndex].size - 1)) { event.put(\delta, 0).play; ...
-
... rocess, erasing what was in the BP before; - makeCh: instantiate a new process, wrapping what was in the BP before. To call the function, use the form: Func ( \makeCh ).doAction(name of new BP, inner process prototype, outer process prototy ...
-
... rocess, erasing what was in the BP before; - makeCh: instantiate a new process, wrapping what was in the BP before. To call the function, use the form: Func ( \makeCh ).doAction(name of new BP, inner process prototype, outer process prototy ...
-
... mes( startPos ) }; if( loop ) { actualStartFrame = (startFrame + addStartFrame).wrap( 0, this.endFrame ); } { actualStartFrame = startFrame + addStartFrame; }; buf = Buffer.alloc(server, diskBufferSize.asInteger, numChannels, { arg buffer; ...