Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (4) Doc (98) Help (27) Quark (405) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. edit-gui Quark

    var getTextProperties = { var result = IdentityDictionary.with(\textProperties -> ~textProperties); ~textProperties.do { |key| result.put(key, key.envirGet); }; result }; /** Chucklib-livecode: A framework for live-coding improvisation of e ...

  2. KeyDownActionsEditor Quark

    ... }"); }) ; parent ?? { window.front }; all.add(this); } result { var res; res = IdentityDictionary.new; tmpShortcuts.do({ |it| res.put(it.key, it.value) }); // "res: %\n".postf(res.cs); ^res; } setShortcuts { |view| var thisMod, thisArrMod; ...

  3. Collection-extensions Quark

    ... ize); this.keysValuesDo({ |k, v| new.put(k, v.shallowCopyItems); }); ^new } } + IdentityDictionary { shallowCopyItems { ^super.shallowCopyItems .proto_(proto) // child object should not be modifying parent/proto .parent_(parent) // so we do ...

  4. LP Quark

    ... eaders, papers; score = []; layoutOverrides = []; includeMIDI = false; lyVars = IdentityDictionary.new; paper = Dictionary.new; header = Dictionary.new; baseMeasurementUnit = "cm"; // set an initial value this.paperSize_("letter", false); } ...

  5. NumberEditor Quark

    ... }); ^f.valueArray([object] ++ args ) } *editorFor { ^editorFor ?? { editorFor = IdentityDictionary[ // has an extra arg SimpleNumber -> { arg n,spec; if(spec.class === ControlSpec,{ KrNumberEditor(n,spec) },{ NumberEditor(n,spec) }) }, Env ...

  6. NumberEditor Quark

    ... }); ^f.valueArray([object] ++ args ) } *editorFor { ^editorFor ?? { editorFor = IdentityDictionary[ // has an extra arg SimpleNumber -> { arg n, spec; if(spec.class === ControlSpec, { KrNumberEditor(n, spec) }, { NumberEditor(n, spec) }) }, ...

  7. SCLOrkWiimote Quark

    ... Button = {}; // Build button states map and seed initial values. buttonStates = IdentityDictionary.new; buttonStates.put(\dPadLeft, false); buttonStates.put(\dPadRight, false); buttonStates.put(\dPadDown, false); buttonStates.put(\dPadUp, f ...

  8. HoaOrder Quark

    ... oder spreadE { |beamShape = \basic, dim = 3| var rE = this.rE(beamShape, dim); ^IdentityDictionary.with(*[ \cos->rE.acos, // Zotter & Frank: ~-3dB \hvc->((2 * rE) - 1).acos // Carpentier, Politis: ~-6dB ]).know_(true) } // 'l’énergie réduit ...

  9. Player Quark

    ... } */ // these are some of the guts... and the SynthDefs *initClass { formats = IdentityDictionary[ \straight -> 0, \stereo -> 1, \uhj ->2, \quad -> 3, \hex -> 4, \eight -> 5 ]; numouts = IdentityDictionary[ \straight -> 0, \stereo -> 2, \u ...

  10. NMLRelays Quark

    ... ok, argOSCPath| addrBook = argAddrBook.asAddrBook; oscPath = argOSCPath; dict = IdentityDictionary.new; this.makeSyncRequestOSCFunc; this.makeOSCFunc; this.sync; } put {|key, value| dict[key] = value; this.changed(\val, key, value); this.up ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow