Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    FuzzyDictionary random lookup dictionary superclass: IdentityDictionary put(key, obj) put an object into the dictionary. If there is already an object at that key, the new object is added to the list of choices. at(key) retrieve an object a ...

  2. SWAsyncNotifier Quark

    ... ressees; var <replyTags; *new{ ^super.new.init; } init{ interessees = MultiLevelIdentityDictionary.new; replyTags = IdentityDictionary.new; } add{ |osctag,id,client,replyTag| osctag = osctag.asSymbol; if ( interessees.at( osctag, id.asSymbo ...

  3. OscGroupClient Quark

    ... { arg time, resp, msg; msg.postln; }); // and remove your responder. This is an IdentityDictionary in the class, so you can have as // many responders with unique ids that you want a.removeResp( \test ); // this sends a message to everyone ...

  4. Syntax-Shortcuts Help

    ... y); z[i] = y; creating IdentityDictionaries instead of writing: you can write: IdentityDictionary['a'->1,'b'->2] (a: 1, b: 2) creating arithmetic series instead of writing: you can write: Array.series(16,1,1) , or series(1,nil,16) (1..16) ...

  5. HIDdef Doc

    ... Class Methods HIDdef. all Get the global dictionary of all HIDdefs. Returns: An IdentityDictionary HIDdef. freeAll Clears and deactivates all HIDdefs from the global collection. HIDdef. new ( key , func ) Access an existing HIDdef. This is ...

  6. MultiUdef Quark

    ... fix to avoid overwriting addToAll { |name| this.class.all ?? { this.class.all = IdentityDictionary() }; this.class.all[ name ] = this; // name doesn't need to be a Symbol } } HiddenFreeUdef : FreeUdef { // these are not added to the global ...

  7. PitchClass Quark

    ... = d-three-quarter-flat, ctqs = c-three-quarter-sharp *initClass { noteToScale = IdentityDictionary[ \c -> 0, \d -> 1, \e -> 2, \f -> 3, \g -> 4, \a -> 5, \b -> 6 ]; scaleToNote = IdentityDictionary[ 0 -> \c, 1 -> \d, 2 -> \e, 3 -> \f, 4 -> ...

  8. NFECoeffs Quark

    ... , { coeffsFOS = [ coeffs.last.copyRange(0, 1) ++ (-1 * [coeffs.last[4]]) ] }); ^IdentityDictionary.with(*[\sos->coeffsSOS, \fos->coeffsFOS, \g->g]).know_(true) } dist { |radius = (AtkHoa.refRadius), sampleRate, speedOfSound = (AtkHoa.speedO ...

  9. XiiSettings Quark

    ... Object.readArchive("ixiquarks/preferences/presets.ixi").isNil, { settingsDict = IdentityDictionary.new; "ixi-NOTE: NO WORRIES! 'presets.ixi' gets created when you store a preset".postln; }, { settingsDict = Object.readArchive("ixiquarks/pre ...

  10. ValueUMapDef Quark

    ... or.white, 0.8 ).alpha_(0.4); } defType { ^\control } *initClass { activeUnits = IdentityDictionary(); CmdPeriod.add( this ); } *cmdPeriod { activeUnits.keys.asArray.do(_.set( \active, false )); } *new { |name, startFunc, endFunc, args, cate ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow