Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... hDefDict; var <>name; *initClass{ tempDefCount = Dictionary.new; synthDefDict = IdentityDictionary( ); } *new { |name, func, args, category| ^super.basicNew( name, args, category, false ).name_(name).init(func) } *fromUdef { |def| var udef; ...

  2. GlobalPathDict Quark

    ... assvar <>dict, <>replaceChar = $@; classvar <>relativePath; *initClass { dict = IdentityDictionary(); GlobalPathDict.put( \resources, Platform.resourceDir ); } *put { |key, path| dict.put( key, path ); } *at { |key| ^dict.at( key ); } *getP ...

  3. GlobalPathDict Quark

    ... assvar <>dict, <>replaceChar = $@; classvar <>relativePath; *initClass { dict = IdentityDictionary(); GlobalPathDict.put( \resources, Platform.resourceDir ); } *put { |key, path| dict.put( key, path ); } *at { |key| ^dict.at( key ); } *getP ...

  4. ValueUMapDef Quark

    ... or.white, 0.8 ).alpha_(0.3); } defType { ^\control } *initClass { activeUnits = IdentityDictionary(); } *stopAll { activeUnits.keys.asArray.do(_.set( \active, false )); } *deactivateAll { activeUnits.keys.asArray.do(_.deactivate); } *new { ...

  5. ModalSpec Quark

    ... sPerOctave) div: stepsPerOctave; root = (root ? 0) % stepsPerOctave; keyToDeg = IdentityDictionary.new; temp = 0; // i scans thru keys, temp thru degrees stepsPerOctave.do({ |i| (scale[temp] == i).if({ keyToDeg.put(i, temp); // found the ex ...

  6. Ntk Quark

    ... timeToDots, timeToDur; *initClass { clefs = [\perc, \g, \f, \c]; rhythmToDur = IdentityDictionary[ \q -> 0.25, \qd -> 0.25, \qdd -> 0.25, \e -> 0.125, \ed -> 0.125, \edd -> 0.125, \s -> 0.0625, \sd -> 0.0625, \sdd -> 0.0625, \t -> 0.03125, ...

  7. Verbosity Quark

    ... ar <>key; // var <>target = \post; *initClass{ Class.initClassTree(Spec); all = IdentityDictionary.new; Spec.add( \verbosity, [0,10,\linear,1,0,"V"] ); } *add{ |key,inst| all.put( key.asSymbol, inst ); } *remove{ |key| all.removeAt( key.asS ...

  8. ChuckStorageClasses Quark

    ... ay Integer Automatic AbstractChuckNewArray Array Symbol prNew AbstractChuckDict IdentityDictionary Symbol Automatic AbstractChuckNewDict IdentityDictionary Automatic creation types are for objects which may have an unlimited number of insta ...

  9. ChuckStorageClasses Quark

    ... ay Integer Automatic AbstractChuckNewArray Array Symbol prNew AbstractChuckDict IdentityDictionary Symbol Automatic AbstractChuckNewDict IdentityDictionary Automatic creation types are for objects which may have an unlimited number of insta ...

  10. Proto Quark

    ... without this, importing into an instance corrupts the class proto env.parent = IdentityDictionary(parent: env.parent); objectKeyDict.keysValuesDo({ |obj, keysToImport| (obj2 = obj.asProtoImportable).notNil.if({ keysToImport.do({ |key| this ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow