-
... ween vectors if(dist<minDist, { class= j; minDist= dist; }); }; ^class //return index in classifications } update {|vectors| var dirty, cnt= 0, classSum, classCnt; if(centroids.isEmpty, { //only create new centroids after a reset centroids= ...
-
... orrect spec for the correct parameter ... etc ArraySpec: value<n>: the value at index <n> all arg ranges are mapped to that of the parameter to which the UMap is connected. This UMapDef replaces the former 'lo_hi' and 'x_y' UMapDefs, which ...
-
... a ProcMod (like envelope release time, etc) //model-view-controller messages: \indexPlaying with the current index, \amp with global amp ProcEvents { var <eventDict, <ampDict, <eventArray, <releaseArray, <timeArray, <index, <indexPlaying, ...
-
... n.newByRate(spec.rate); } setInputBus { arg bus; inBus = bus; initValue = inBus.index; } setNodeControl { arg nc; patchIn.nodeControl = nc; } synthArg { ^initValue } ar { ^Silent.ar(this.numChannels) } makePatchOut { arg agroup,private = fa ...
-
... n.newByRate(spec.rate); } setInputBus { arg bus; inBus = bus; initValue = inBus.index; } setNodeControl { arg nc; patchIn.nodeControl = nc; } synthArg { ^initValue } ar { ^Silent.ar(this.numChannels) } makePatchOut { arg agroup, private = f ...
-
... (rate == 'audio', { 1.do({|i| if (inputs.at(i).rate != 'audio', { ^(" input at index " + i + "(" + inputs.at(i) + ") is not audio rate"); }); }); }); ^this.checkValidInputs } init { | ... theInputs | inputs = theInputs ^this.initOutputs(50 ...
-
... (rate == 'audio', { 25.do({|i| if (inputs.at(i).rate != 'audio', { ^(" input at index " + i + "(" + inputs.at(i) + ") is not audio rate"); }); }); }); ^this.checkValidInputs } init { | ... theInputs | inputs = theInputs ^this.initOutputs(50 ...
-
... (rate == 'audio', { 36.do({|i| if (inputs.at(i).rate != 'audio', { ^(" input at index " + i + "(" + inputs.at(i) + ") is not audio rate"); }); }); }); ^this.checkValidInputs } init { | ... theInputs | inputs = theInputs ^this.initOutputs(36 ...
-
... fresh; }; if( b == 63234 ) // <- { selected = validSelections[ (validSelections.indexOf( selected ) ? 10) + 1 ] ? 11; parent.refresh; }; if( b == 63235 ) // -> { selected = validSelections[ (validSelections.indexOf( selected ) ? 1) - 1 ] ? ...
-
... } removeGroup { |groupname| groups.removeAt(groupname); } names { ^nameList } myIndex { ^nameList.indexOf(me.name) } // always resolves to a single peer name, a flat list of names, or nil resolveWhere { |where| // \all = sendAll // expand l ...