-
... s.isNil.not.if({ namesTemp = m.argNames.copy; namesTemp.removeAt(0); (namesTemp.size > 0).if({ "(".post; }); namesTemp.do({ arg n, i; (n.asString ++ (i < (namesTemp.size-1)).if({ ", " }, { ")" })).post; }); }); "\n".post; }; "\tMethods:".po ...
-
+ SequenceableCollection { ilisp { var operator, subject, arguments; if(this.size == 0, { ^this }); # operator ... arguments = this; // operator is instr name if(operator.isString, { // pseudo-macro for any instr named #name // it doesn't e ...
-
... dValues.ar(item, i, post), 0); Select.ar(good, [ DC.ar(0), item ]); }); if( res.size > 1 ) { ^res; } { ^res[0]; }; } *kr { |in, post = 2| var res; res = in.asArray.collect({ |item, i| var good; good = BinaryOpUGen('==', CheckBadValues.kr(it ...
-
+ SequenceableCollection { ilisp { var operator, subject, arguments; if(this.size == 0, { ^this }); # operator ... arguments = this; // operator is instr name if(operator.isString, { // pseudo-macro for any instr named #name // it doesn't e ...
-
... 0]); ~notes = [26,38,45,50,57,62,69,74,81,86,90]; ~synths = []; ~notes.size.do({ |item, i| // normalized index var nIndex = i/~notes.size; //inverse normalized index var inIndex = (~notes.size - i)/~notes.size; ~ ...
-
... ; if(blink[1] > 0) { newBlinks.add(blink); }; }); blinks = newBlinks; if(blinks.size == 0) { this.animate_(false); }; } sustainKey { |key, doAction = false| var blinkIndex = nil; if(sustains.includesEqual(key).not) { // Remove key from blin ...
-
... ution3 real-time time-based convolver Convolution3.ar(in, kernel, trigger, framesize, mul, add) Convolution3.kr(in, kernel, trigger, framesize, mul, add) Strict convolution with fixed kernel which can be updated using a trigger signal. The ...
-
... var list = super.at(key); list !? { if(item.isNil) { item = list.removeAt(list.size.rand) } { list.remove(item); }; if(list.isEmpty) { this.keyPut(key, nil) }; ^item }; ^nil } choose { var list = super.choose; list !? { ^list.choose }; ^ni ...
-
... master.isPlaying, { master.playPiece((playList.value - 1).wrap(0, master.pieces.size - 1)); }); playList.value_((playList.value - 1).wrap(0, master.pieces.size - 1)); }); ); lockables.add ( Button(win, Rect(60, 10, 40, 20)) .states_([["->"] ...
-
... hoose an outbus, if need be ~outbus = 0 // open scope s.scope(~order.asHoaOrder.size, ~outbus); // design encoding matrix ~directions = [ [0.0, 0.0], [90.0, 0.0], [180.0, 0.0], [-90.0, 0.0], [0.0, 90.0], [0.0, -90.0], ].degrad; ~matrixEncod ...