Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2448) Code (83) Doc (560) Help (165) Quark (1637) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Key-Value-Pairs Doc

    ... ociation Motivation There are three very similar ways to represent maps between keys and values, each of which have a specific purpose: key value pairs common representation of arguments [\freq, 452, \amp, 0.2] collections of associations o ...

  2. Opus Quark

    ... } freeBufferForKey {arg key, buffer; buffers[key].free; } freeBuffers { buffers.keysValuesDo({arg key, value; value.free; }); buffers.removeAll; } dataForKey {arg key; var foundData; foundData = data[key]; foundData.isNil.if({ ("Data for \\ ...

  3. VGActionsGui Quark

    // new dynamic version VGActionsGui { var <actions, <>displayFunc, <orderedKeys, <>buttonState; var <tagBox, <skip, <buttonRefresh; *new { |parent, bounds, actions, displayFunc, orderedKeys, buttonState| ^super.newCopyArgs(actions, displayF ...

  4. UnicodeResponder Quark

    ... nction,description); } // you can concatenate responders ++ { arg that; var new,keys; if(that.isNil,{ ^this }); if(that.class !== this.class,{ ^KeyDownResponderGroup(this,that) }); // that overides this new = this.class.new; new.dict = dict ...

  5. UnicodeResponder Quark

    ... tion, description); } // you can concatenate responders ++ { arg that; var new, keys; if(that.isNil, { ^this }); if(that.class !== this.class, { ^KeyDownResponderGroup(this, that) }); // that overides this new = this.class.new; new.dict = d ...

  6. extNodeProxy Quark

    ... plicit specs up into halo for faster access addImplicitSpecsToHalo { this.specs.keysValuesDo { |key, value| this.addSpec(key, value) } } getSpec { |key| var foundSpec, synthSpecs, haloSpecs; // if no key given, return a dict with all specs; ...

  7. ChuckBrowserKeyController Quark

    ... _.ascii ++ 127; states = Dictionary[ // matchItem is done on unicode value from keystroke // arrow keys, pass to default action of the view who has focus now (65361..65364) -> { |instance, view, char, modifiers, unicode, keycode, key| view. ...

  8. EnvirGui Doc

    ... ds Instance methods Instance Variables numItems envir zone paramViews specs editKeys keysRotation docBut knowBut parentBut protoBut Some Methods object envir name getSpec putSpec addReplaceKey removeReplaceKey showKeyFor highlight unhighlig ...

  9. SynthTracker Quark

    ... nthTracker.initialize; SynthDescLib.global.read; SynthDescLib.global.synthDescs.keysValuesDo({ |key, value| value.track; if(value.willFreeSynth.not) { whichLoaded = whichLoaded.add(value.name); }; }); ^whichLoaded; } *fullReset { SynthTrack ...

  10. extDictionary-findKeysForValue Quark

    // wslib 2005 // find all keys for a value + Dictionary { findKeysForValue { arg argValue; var result = []; this.keysValuesArrayDo(array, { arg key, val, i; if (argValue == val, { result = result ++ [key]}) }); ^result } }

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow