Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 25.coin.binaryValue); //world,loc,vel,acc,mass,size }.dup(n); }.dup(n); lookup= IdentityDictionary(world.objects.size); world.objects.do{|o| lookup.put(o, world.neighbours(o))}; //heavy calculation //--loop w.draw{ var counts= world.objects ...

  2. SWDataNetworkOSCClient Quark

    ... ubscriptions = Set.new; slotNodesSubs = Set.new; nodeSubs = Set.new; slotSubs = IdentityDictionary.new; setters = IdentityDictionary.new; // this.sendRegistered; } sendRegistered{ addr.sendMsg( '/registered', addr.port.asInteger, key.asStri ...

  3. extObject_2 Quark

    ... y_(obj.array.collect(_.miSC_copy(copyItems))) } } +Object { miSC_getCopyCode { ^IdentityDictionary[ (0 -> 0), (1 -> 1), (2 -> 2), (false -> 0), (true -> 1), (\false -> 0), (\true -> 1), (\deep -> 2), ].at(this) ? 0 } miSC_copy { |copyItems ...

  4. ControlPrototypes Quark

    ControlPrototypes { classvar <registery; *initClass { registery=IdentityDictionary.new; } *define { arg ... assns; registery.addAll(assns); } *at { arg key,spec; // returns a list of possibles ^registery.at(key).value(key,spec) // could/sho ...

  5. ControlPrototypes Quark

    ControlPrototypes { classvar <registery; *initClass { registery=IdentityDictionary.new; } *define { arg ... assns; registery.addAll(assns); } *at { arg key, spec; // returns a list of possibles ^registery.at(key).value(key, spec) // could/s ...

  6. Soundscape Quark

    ... ternal Accessing Instance and Class Variables sampleplaying sampleplaying is an IdentityDictionary, indexing to all the synths that are playing, allowing the method modifplay to interact with them when the GeoListener send an update message ...

  7. HoaMatrix Quark

    ... ; case( { pn.extension == "yml" }, { dict = filePath.parseYAMLFile; fileParse = IdentityDictionary(know: true); // replace String keys with Symbol keys, make "knowable" dict.keysValuesDo{ |k, v| fileParse.put(k.asSymbol, if(v == "nil", { ni ...

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

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

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow