Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... envnode, \lag, lag])}); } saveToData {arg anAssociation; data.isNil.if({data = Dictionary.new(1)}); data.add(anAssociation); } env_ {arg newenv; isRunning.if({ "You can not change an envelope while the ProcMod is running".warn; }, { env = ...

  2. imageExamples Quark

    ... ound, imageAlpha=1.0, imageComposition= Compositing .sourceIn\ ;\ \ resources = Dictionary [\ 'bg' -> Image ( "resources/gradient.jpg" ), \ 'icon' -> Image ( "resources/Swamp.png" ), \ 'recButton' -> [ \ Image ( "resources/TrBtn_record_off. ...

  3. AlgaPatternInterpStreams Quark

    ... rn | ^super.new.init(algaPattern) } init { | argAlgaPattern | entries = IdentityDictionary(10); interpSynths = IdentityDictionary(10); interpBusses = IdentityDictionary(10); interpBussesToFree = IdentitySet(); algaPatternSynths = IdentitySe ...

  4. intro Quark

    ... ts((start: 56, num: 78, wavesets: a)).play; // we can add a waveset to a global dictionary a.add(\one); b.add(\two); // then you can access by name: Pwavesets((start: 56, num: 78, name: \one)).play; // currentSize returns a stream with the ...

  5. LP Quark

    ... papers; score = []; layoutOverrides = []; includeMIDI = false; lyVars = IdentityDictionary.new; paper = Dictionary.new; header = Dictionary.new; baseMeasurementUnit = "cm"; // set an initial value this.paperSize_("letter", false); } checkSt ...

  6. NumberEditor Quark

    ... alueArray([object] ++ args ) } *editorFor { ^editorFor ?? { editorFor = IdentityDictionary[ // has an extra arg SimpleNumber -> { arg n,spec; if(spec.class === ControlSpec,{ KrNumberEditor(n,spec) },{ NumberEditor(n,spec) }) }, Env -> { arg ...

  7. NumberEditor Quark

    ... alueArray([object] ++ args ) } *editorFor { ^editorFor ?? { editorFor = IdentityDictionary[ // has an extra arg SimpleNumber -> { arg n, spec; if(spec.class === ControlSpec, { KrNumberEditor(n, spec) }, { NumberEditor(n, spec) }) }, Env -> ...

  8. ddwSnippets Quark

    ... ods = 262144; *new { this.shouldNotImplement(thisMethod) } *initClass { snips = Dictionary.new; Class.initClassTree(Clock); if('Document'.asClass.notNil) { Class.initClassTree(Document); }; action = { |doc, char, modifiers, unicode, keycode ...

  9. API Quark

    ... e.asCompileString + "not found").throw; } } init { arg n; name = n; functions = Dictionary.new; all.put(name, this); } *initClass { all = IdentityDictionary.new; } // defining add { arg selector, func; functions.put(selector, func) } addAll ...

  10. Bend Quark

    ... ) } *controls { |ugenFunc, applySpecs = false| var bent, ctlName, spec, names = Dictionary.new, ugenCount; ^this.new({ |original, argName, ugen| ctlName = "%_%".format(argName, ugen.class.name); ugenCount = names.at(ctlName); ugenCount = if ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow