-
... tNil.if({ args[index+1] = gate; }, { args = args ++ [\gate, gate]; }); }); } // maybe make this a dictionary sometime argAt { |key| var i; if(args.isArray) { if((i = args.indexOf(key)).notNil) { ^args[i+1] } }; ^nil } argPut { |key, value| ...
-
... otNil.if({ args[index+1] = gate; }, { args = args ++ [\gate, gate]; }); }; } // maybe make this a dictionary sometime argAt { |key| var i; if(args.isArray) { if((i = args.indexOf(key)).notNil) { ^args[i+1] } }; ^nil } argPut { |key, value| ...
-
... mixer.mcgui.notNil.if({ mixer.mcgui.mixer = nil }); }); ~free.value(value); // maybe free func needs to know the voicer object }); value.free; this.removeFromCollection; } bindBP { |bp| bp.bindVC(this) } draggedIntoVoicerGUI { |dest| value ...
-
... therfore pan -1 to avoid issues of doubling blocks - although this is something maybe that should be looked into in the block class... Block.play(2, \pattern, \nobuf, [[\note, \seq, [7,7,7,7]], [\dur, 0.5] ], [\instrument, \default, \pan, 0 ...
-
... th, <beatlength, <>bps; //event start positions var <eventstarts; //in frames //maybe this data is mirrored on the server? //var transients, eventtype, pats; //data for each event var <eventlengths; //in seconds var <eventpats; var <onsetsi ...
-
... et object's world to this objects.add(numObjects -> obj); // obj.world= this; //maybe this is redundant??? ////// obj.channel = obj.channel ? numObjects; if (this.getAllObjectNames.indexOf((numObjects).asSymbol).isNil.not) { obj.name = (num ...
-
... } at {|address| var res; address = address.asSymbol; res = layout[address]; // maybe the address is an alternative name? if(res.isNil, { layout.pairsDo({|addr, element| if(address == element.altName.asSymbol, { res = element; }); }); }); ^ ...
-
... defaultFontSize = font.size } doesNotUnderstand { |selector ... args| // dirty maybe, but any reason not to do this? if( selector.isSetter ) { if( this.class.instVarNames.includes( selector.asGetter ) ) { this.slotPut( selector.asGetter, a ...
-
... mixer.mcgui.notNil.if({ mixer.mcgui.mixer = nil }); }); ~free.value(value); // maybe free func needs to know the voicer object }); value.free; this.removeFromCollection; } bindBP { |bp| bp.bindVC(this) } draggedIntoVoicerGUI { |dest| value ...
-
... return.collect{ |return| //inside validation return.collect{ |return| //inside Maybe var endExpression = string[(return+6)..].stripWhiteSpace; strings[0]++".collect{ "++strings[1]++varExpression++endExpression++" }" }.getOrElse({ var endEx ...