-
... tractPlayControl.buildMethods.put(\seti, #{ |pattern, proxy, channelOffset = 0, index| var args = proxy.controlNames.collect(_.name); Pchain( (type: \set, id: { proxy.group.nodeID }, args: args), Pbindf( pattern, \play, Pfunc { |e| args.do ...
-
... ,48,64,128 ].collect({ |n| UPatDef( n, { |unit, vals, histSize = 0, seed| { var index, size, arr, nn; thisThread.randSeed = seed.next.asControlInput; arr = (..n-1).scramble; loop { index = arr.removeAt( histSize.next.asInteger rrand: (n-1). ...
-
... esp, // IdentityDictionary[ note num -> VPNoteInfo ] thisNote; // for adding -- index must be retained between add calls // args are given in pairs: processgroup, starting note# or [note #'s] // the destination trick from BasicMIDISocket is ...
-
... esp, // IdentityDictionary[ note num -> VPNoteInfo ] thisNote; // for adding -- index must be retained between add calls // args are given in pairs: processgroup, starting note# or [note #'s] // the destination trick from BasicMIDISocket is ...
-
... ize; set } }) } // this finds the spec of an input in a subpatch. // argi is an index into an array of all args of this patch followed by depth first traversal of all subpatches deepSpecAt { arg argi,offset=0; var inputs,deepSpec; inputs = ...
-
... a, b)); }, { ^(a++b).flat; }); } *prSplit {|arr| var item= arr[arr.size-1]; var index= arr.indexOfEqual(item); ^[ arr.copyRange(0, index-1), arr.copyRange(index, arr.size-1) ]; } *prLace {|a, b| ^a.collect{|x, i| x++b[i]}++b.copyRange(a.siz ...
-
... e, 0); }; keyList.do { |key, i| set.put(key, i) }; this.pairsDo { |a, b, i| var index = set[a]; if(index.notNil) { out[index] = b; set.removeAt(a); remain = remain - 1; if(remain == 0) { ^out }; }; }; ^out } }
-
... bls.do{arg label,i; this.add(label); }; this.focus(0); ^this; } add { arg label,index; //actually this is an insert method with args backwards var tab, container, calcTabWidth, i; index = index ? labels.size; //if index is nil, add it to th ...
-
... / pass not-understood messages thru to the target object? <classHooks; var <collIndex, // the instance is stored at this.class(collIndex) <>value, // what I'm pointing to <>subType, <>path; // collection is shared among all subclasses, so m ...
-
... lues (or UMaps). If you need to select from > 8 values, use \select_16 instead. index: the index of the value (0-7) smooth: smoothening parameter (0: hard steps, 1: linear interpolation) value0 - value7: the values of the steps (can be UMap ...