Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. SCMMIDIOutSelectorView Quark

    ... 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, ...

  2. APlane Quark

    ... 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 ...

  3. CCAllocator Quark

    ... 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 ...

  4. CCAllocator Quark

    ... 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 ...

  5. Mx Quark

    ... 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 ...

  6. KMeans Quark

    ... = {{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; } ...

  7. InputRouter Quark

    ... // 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 ] = ...

  8. Tafsiran Quark

    ... 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; ^ ...

  9. extVarious-SynthTracker Quark

    ... 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 ...

  10. SCDraw Quark

    ... 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 ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow