Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (924) Code (27) Doc (315) Help (54) Quark (524) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. PLcauchy Quark

    ... Symbol is passed, length can be assigned to an envir variable later on. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...

  2. PLgauss Quark

    ... Symbol is passed, length can be assigned to an envir variable later on. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...

  3. extDictionary-findKeysForValue Quark

    // wslib 2005 // find all keys for a value + Dictionary { findKeysForValue { arg argValue; var result = []; this.keysValuesArrayDo(array, { arg key, val, i; if (argValue == val, { result = result ++ [key]}) }); ^result } }

  4. ZZZDevice Quark

    ... (channels, server).init; } init{ ("Initializing ZZZDevice...").postln; clocks = Dictionary(); gates = Dictionary(); gateBusses = Dictionary(); outs = Dictionary(); tempos = Dictionary(); tempoBusses = Dictionary(); clocksTempoMap = Dictiona ...

  5. PLnaryop Quark

    ... variables later on. Can be dynamically replaced by Patterns or Streams. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...

  6. plusDictionary Quark

    + Dictionary { sortedKeysValuesCollect { arg function, sortFunc; var keys = this.keys(Array); var res = this.class.new(this.size); keys.sort(sortFunc); keys.do { arg key, i; res.put( key, function.value(this[key], key, i) ); }; ^res; } }

  7. extDictionary Quark

    +Dictionary { atCreate { |key, defaultFunc| var val, newVal; val = this.at(key); if (val.notNil) { ^val } { newVal = defaultFunc.value(); this.put(key, newVal); ^newVal; } } } +Association { connect { |...otherAssocs| ^([this] ++ otherAssoc ...

  8. SCLOrkSamples Quark

    ... "aif", "AIF", "aiff", "AIFF", "aifc", "AIFC", "flac", "FLAC" ]; dict = IdentityDictionary.new(n: 3000, know: true); dict.put(\r, \rest); } *clear { Buffer.freeAll; SCLOrkSamples.initClass; } // *loadFile // Loads a single file. File name b ...

  9. JSONlib Quark

    ... nvertToJSON {|object, customEncoder=nil, postWarnings=true| if((object.isKindOf(Dictionary) or: (object.isKindOf(SequenceableCollection))).not) { Error("Can only convert a Dictonary/Event/Array to JSON but received %".format(object.class)). ...

  10. PLbrown Quark

    ... Symbol is passed, length can be assigned to an envir variable later on. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow