-
... ult = Dictionary(); result[this.name.asSymbol] = proxy; ^result; } update { var index; this.setErrorMessage(nil); popupMenuMIDIOuts.items = midiOuts.keys.asArray.sort; popupMenuMIDIOuts.items do: { |item, i| if( item == selectedMIDIOutName, ...
-
... nes.add(aplane); ^aplane; } *aplanes {var resultArr, planeArr; planeArr = super.indexArr; planeArr.do{|item, index| if((item[1][0] == \aplane), { resultArr = resultArr.add(item); }); } ^resultArr; } *indexArr {var arr, result, aplaneArr; ar ...
-
... eserved = IdentityDictionary.new; reservedTypes.do({ arg type; i = controlTypes.indexOf(type); i.notNil.if({ cc = available.at(i); reserved.put(cc.type, cc) }); }); } get { arg type, name; // get a controller, by type or any kind if type is ...
-
... eserved = IdentityDictionary.new; reservedTypes.do({ arg type; i = controlTypes.indexOf(type); i.notNil.if({ cc = available.at(i); reserved.put(cc.type, cc) }); }); } get { arg type, name; // get a controller, by type or any kind if type is ...
-
... bjects) } channelAt { arg chan; ^if(chan == inf, {master}, {channels[chan]}); } indexOfChannel { arg channel; var i; if(channel === master, { ^inf }); i = channels.indexOf(channel); ^i } extendChannels { arg toSize; // create more channels ...
-
... = {{0}.dup(data[0].size)}.dup(k); centroidcounts = {0}.dup(k); data.do{|datum, index| whichcent = assignments[index]; centroidsums[ whichcent] = centroidsums[ whichcent] + datum; centroidcounts[whichcent] = centroidcounts[whichcent] + 1; } ...
-
... // only after synths have started synths.do({ |item, output| item.do({ |synth, index| synth.onReply_({ |value| var val, peak; #val, peak = value; val = (val.max(0.0) * (updateFreq/server.sampleRate)).sqrt; meterLevels[ output ][ index ] = ...
-
... Size } findMaximalKeySize { ^rules.findMaximalKeySize } findRule { | key, list, index=0 | ^rules.deepFindRule(list, index) } deepFindRule { |list, index| ^rules.deepFindRule(list, index) } recognise { |list, index=0| var key = list.first; ^ ...
-
... r dictionary and free it if it's there. // If it's not there free it anyway var index; index = this.findInTracker; if(index.notNil) { ^SynthTracker.freeAt(this.defName.asSymbol, index); } { "Synth was not in SynthTracker, but was freed anyw ...
-
... arg width=500, height=500, color=Color.black; var win, view, frame=firstFrame, index = 0; var queue = []; win = Window.new("scdraw preview", Rect(200, 200, width, height), resizable: false).front; view = UserView(win, win.view.bounds).back ...