Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (4) Doc (98) Help (27) Quark (405) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

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

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

  4. NMLJackTrip Quark

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

  5. SWDataNetworkOSCHiveClient Quark

    ... sSubs; } myInit{ |minNode,maxNode| nodeRange = [minNode, maxNode]; activeBees = IdentityDictionary.new; configs = IdentityDictionary.new; configQueries = Set.new; // hookSet = SWHookSet.new; } sendRegistered{ addr.sendMsg( '/registered/hive ...

  6. FxPatch Quark

    ... atch later? FxPatch : PatchNoDep { *initClass { StartUp.add({ Spec.specs.putAll(IdentityDictionary[ \gain2 -> [0.000001, 10, \exponential, 0, 1].asSpec, \slope -> [0.1, 10, \exponential, 0, 1].asSpec, \myrq -> [1, 0.05].asSpec, \mydetune -> ...

  7. FxPatch Quark

    ... atch later? FxPatch : PatchNoDep { *initClass { StartUp.add({ Spec.specs.putAll(IdentityDictionary[ \gain2 -> [0.000001, 10, \exponential, 0, 1].asSpec, \slope -> [0.1, 10, \exponential, 0, 1].asSpec, \myrq -> [1, 0.05].asSpec, \mydetune -> ...

  8. PLbindefParEnvironment Quark

    ... e, num, plbindef) Creates a new PLbindefParEnvironment object with arguments of IdentityDictionary. In contrast to the latter know defaults to true, which allows setting sources of the PLbindefPar in object prototyping style. name is used f ...

  9. NMLAddressing Quark

    ... e, *args); } } AddrBook { var dict, <me; *new { ^super.new.init } init { dict = IdentityDictionary.new; } // maybe don't need this anymore send {|name ...msg| dict[name].addr.sendMsg(*msg) } sendAll {|...msg| dict.do({|peer| peer.addr.sendM ...

  10. cl-meter Quark

    ... Bar = 4; ~divs = [ [4], [2, 2], [1, 1, 1, 1], 0.5 ! 8 ]; ~prep = { ~divisions = IdentityDictionary.new; if(~divs.size > 0) { ~divs.do { |row| if(~divisions[row.size].isNil) { ~divisions[row.size] = row } { Error("ClMeter: Multiple subdivisi ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow