Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... able is accessed by numbers, available could also just be an array? available = IdentityDictionary.new; rawDevList.do { |it, i| available.put(i, HIDInfo.new( *it )) }; "HID: found % devices.\n".postf( rawDevList.size ); ^available } }

  2. lcmExtensions Quark

    ... s| var lcm, f, factors, argFactors, argListFactors, lcmFactors, lcmFactorDict = IdentityDictionary.new, postWarning = false, thr = 2 ** 31 - 1; (args.size == 0).if { ^(this == 0).if { 0 }{ this.abs } }; (args.every { |i| i.isKindOf(Integer) ...

  3. GenericDef Quark

    ... { x.prName = name }; ^x } *fromName { |name| var def; this.all ?? { this.all = IdentityDictionary() }; def = this.all[ name ]; if( def.isNil ) { ^this.getFromFile(name); }{ ^def } } *getFromFile{ arg name; var path; path = this.findDefFile ...

  4. GenericDef Quark

    ... { x.prName = name }; ^x } *fromName { |name| var def; this.all ?? { this.all = IdentityDictionary() }; def = this.all[ name ]; if( def.isNil ) { ^this.getFromFile(name); }{ ^def } } *getFromFile{ arg name; var path; path = this.findDefFile ...

  5. wsGui_examples Quark

    ... uiObjects[\button0] a.addWidget(\but0, \button, {|val| postf("but0 %\n", val)}, IdentityDictionary[(\backgroundColor -> Color.red), (\textColor -> Color.black), (\font -> Font.new.size_(16)), (\bounds -> Rect(0.2, 0.1, 0.2, 0.2)), (\innerHT ...

  6. ENdef Quark

    ... 50) */ ENdef { classvar <>all; var <key; var <eventNetwork; *initClass { all = IdentityDictionary.new } *new { | key, f | //object is a function var check = this.checkArgs(\ENdef, \new, [key, f], [Symbol, [Function,Nil]]); var endef = all. ...

  7. NullVoicer Quark

    ... Action_ {} bus { ^nil } stealer { ^\preferEarly } stealer_ {} globalControls { ^IdentityDictionary.new } globalControlsByCreation { ^Array.new } latency { ^nil } isRunning { ^true } // to display "run" in gui clock {} clock_ {} init {} make ...

  8. NullVoicer Quark

    ... Action_ {} bus { ^nil } stealer { ^\preferEarly } stealer_ {} globalControls { ^IdentityDictionary.new } globalControlsByCreation { ^Array.new } latency { ^nil } isRunning { ^true } // to display "run" in gui clock {} clock_ {} init {} make ...

  9. build_emoji_trie Quark

    ... common redundant nodes. // Trie structure. // This script builds one MultiLevelIdentityDictionary. Keys are generally sucessive // alphanumeric characters in a search path, but may occur more than one at a time due // to pruning, so for ex ...

  10. Note Quark

    ... mbol); } init { |inSymbol| symbol = inSymbol ?? \r; ^this; } *initClass { all = IdentityDictionary[ \c -> 0, \cs -> 1, \df -> 1, \d -> 2, \ds -> 3, \ef -> 3, \e -> 4, \f -> 5, \fs -> 6, \gf -> 6, \g -> 7, \gs -> 8, \af -> 8, \a -> 9, \as -> ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow