Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... \tUsing default presets.".inform; // add various synthesis strategies presets = IdentityDictionary[ \reson -> {|in, sreim| // multichannel controls var freqs, amps, rings; var ringtime, highFreq; // controls ringtime = \ringtime.kr(0.1); hi ...

  2. PushPullOSC Quark

    ... {|myNetAddr| netAddr = myNetAddr; capMinMax = [0, 16383]!numCap; encoderDict = IdentityDictionary.newFrom([\a, 0, \b, 0, \c, 0, \d, 0, \e, 0, \f, 0]); imuDict = IdentityDictionary.newFrom([\g, [0,0,0], \a, [0, 0, 0], \m, [0, 0, 0], \t, 0]) ...

  3. ModalSpec Quark

    ... o customize this class var temp; 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 ...

  4. Dimple Quark

    ... ar <properties; var <>verbose = 0; init{ this.initProps; } initProps{ actions = IdentityDictionary.new; properties = IdentityDictionary.new; responders = List.new; } oscPath{ |property| ^("/world" ++ "/" ++ name ++ "/" ++ property.asString) ...

  5. player.api Quark

    var register = IdentityDictionary.new, asuuid = { arg uuid; (uuid ?? {9999999999999.rand}).asSymbol; }, get = { arg uuid; var p = register[uuid.asSymbol]; if(p.isNil, { Error("Player not in registery:" + uuid.asCompileString).throw; }); p } ...

  6. MixerChannelDef Quark

    ... f; *initClass { Class.initClassTree(Collection); Library.global.put(\mixerdefs, IdentityDictionary.new); StartUp.add { MixerChannelDef(\mix1x1, 1, 1, fader: SynthDef("mixers/Mxb1x1", { arg busin, busout, level; var in, bad, badEG; in = In.a ...

  7. Extendable Quark

    ... var <>pr_method_dict, <pr_behavior; *new { |dict| ^super.newCopyArgs(dict ?? { IdentityDictionary.new }) } pr_behavior_ { |behavior| pr_behavior = behavior; behavior.pr_abstractObject = this; } addMethod { |selector, function| selector = s ...

  8. QuarkEditor Quark

    ... var fileMethodMap, fileClassMap; *generateFileMap { var classes; fileClassMap = IdentityDictionary(); fileMethodMap = IdentityDictionary(); classes = Class.allClasses; classes.remove(QMetaObject); classes.remove(QObject); classes.do { |clas ...

  9. UMaster Quark

    ... classvar <isRunning = false; classvar <>verbose = true; *initClass { objects = IdentityDictionary(); } *isRunning_ { |bool = true| isRunning = bool; this.changed( \isRunning, bool ); } *hasStarted_ { |bool = true| hasStarted = bool; this.c ...

  10. 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; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow