Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 127.0], SystemClock.seconds, nil, nil) }; }, chan: ~chan, srcID: ~uid); ~data = IdentityDictionary.new; // save all incoming data by oscpath ~syncSigns = IdentityDictionary.new; if(~labels.isNil) { ~labels = IdentityDictionary.new }; ~setDa ...

  2. README Quark

    ... ord") Chord.all.put(\test, Chord.new(notes: [0, 1, 2], name: "Test chord")); -> IdentityDictionary[ (test -> Chord.test) ] Chord.test; -> Chord([ 0, 1, 2 ], "Test chord") Chord.directory; -> Add Eleven: add11 has 5 Notes Add Thirteen: add13 ...

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

  4. RecordAddr Quark

    ... uper.new(hostname, port).lifeTime_(lifeTime) } init { super.init; threadBeats = IdentityDictionary.new; } sendBundle { arg time ... args; this.bundleToScore(args, time); } bundleToScore { arg bundle, time; var dt; dt = this.getElapsed + (ti ...

  5. Renderer Quark

    ... = curClock; Server.default = curServer; ^renderer.score } init { threadBeats = IdentityDictionary.new; score = Score.new; this.newAllocators; } /////////////// server ///////////////// // perhaps one needs to emulate some more here newAllo ...

  6. SETOMTServer Quark

    ... inOsc .ar(freq, 0, (amp.lag(0.01)*vol*famp))) }).send(s); q = (); ( q. synths = IdentityDictionary .new; // a storage for synths JITseto .action = { |me| s.bind{ // make sure there is a synth q.synths[me].isNil.if{ q.synths[me] = Synth ( \t ...

  7. Order Doc

    ... without having to allocate a large array. NOTE: -put and -at are slower than in IdentityDictionary / PriorityQueue , -do is faster. Class Methods Order. new ( size: 8 ) Create a new order. g = Order.new; g.put(7, 100); // put a value (100) ...

  8. RandIDAllocator Quark

    ... *value { |server| var count; server = server ? Server.default; dict = dict ?? { IdentityDictionary() }; count = dict[ server ] ? -1; count = (count + 1).wrap(0, server.options.numRGens - 1); dict[ server ] = count; ^count; } *asControlInput ...

  9. RandIDAllocator Quark

    ... *value { |server| var count; server = server ? Server.default; dict = dict ?? { IdentityDictionary() }; count = dict[ server ] ? -1; count = (count + 1).wrap(0, server.options.numRGens - 1); dict[ server ] = count; ^count; } *asControlInput ...

  10. NMLJackTrip Quark

    ... io, i*numChannelsPerUser + inputOffset, numChannelsPerUser, Server.default); }, IdentityDictionary); } outputBusses { ^(myServers ++ myClients).collectAs({|nickname, i| nickname -> Bus(\audio, i*numChannelsPerUser, numChannelsPerUser, Serve ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow