Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (924) Code (27) Doc (315) Help (54) Quark (524) Plugin (4) 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. extDict Quark

    ... with a lowercase letter, (7: [1, 2, 3]) should become: dict[7], not dict.7 */ + Dictionary { skeys { var keys = this.keys(Array); try { keys.sort }; ^keys } printSKeys { |prefix = ""| ^this.skeys.do { |key| (prefix ++ key.cs).postln; } } pr ...

  3. SCMPresetView Quark

    ... ng ++ "/"; File.mkdir(presetPersistanceDir); // Create if not exists. presets = Dictionary(); nameToPositionMap = Dictionary(); presetNamesSorted = Dictionary(); eventPresetsChanged = Dictionary(); } initialize { |contextId| this.contextId ...

  4. MIDIKtl Quark

    ... ss has a CCResponder that listens to an (optional) MIDI source uid, and keeps a dictionary for the actions to do when specific MIDI events from that source comes in. This is a little more efficient that CCResponder, as there is less matchin ...

  5. RedBencode Quark

    ... tring} { //string res.add(val.size).add($:).add(val); } {val.isKindOf(Set)} { //dictionary res.add($d); val.asSortedArray.do{|a| res.add(this.encode([a[0].asString, a[1]]))}; res.add($e); } {val.isSequenceableCollection} { //list res.add($l ...

  6. SamplerDB Quark

    ... a database of multiple Sampler //The data structure of SamplerDB Instance is a Dictionary in this format // [ \Sampler_Name -> Sampler_Instance, \Sampler_Name -> Sampler_Instance, ...] SamplerDB{ classvar < dbs; //System log for all sample ...

  7. SpatialRender Quark

    ... g input channels // // Each different source/channel is tracked inside encoders dictionary // // Distance cues are supported by means of distance attenuation and air absorption simulation // // ATK Binaural SynthDefs are treated specially, ...

  8. SatieJson Quark

    ... quenceableCollection) } { ^"[ % ]".format(this.fromArray(obj)) } { obj.isKindOf(Dictionary) } { ^this.fromDict(obj) } { obj.isKindOf(Set) } { ^"[ % ]".format(this.fromArray(obj.as(Array))) } } *fromArray { | obj | ^obj.collect({ | item | th ...

  9. ChordtrisPreferences Quark

    ChordtrisPreferences { // Dictionary containing symbols as keys and instances of ChordtrisPreferenceSetting as values classvar preferences; // the Chordtris library folder classvar preferenceFolder; // the path to the file classvar preferen ...

  10. ProcStats Quark

    + String{ /// returns a dictionary with stats of the named process getStats{ var stats; stats = ("ps -C \""++this++"\" u").unixCmdGetStdOut; // stats.postcs; // some reformatting: stats = stats.split($\n).collect{ |it| it.split($ ) }.do{ |i ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow