Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2448) Code (83) Doc (560) Help (165) Quark (1637) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Proto-ext Quark

    ... go in main dict // some data maybe should go in parent: provide a collection of keys + IdentityDictionary { moveFunctionsToParent { |keysToMove| var movedKeys; // because you shouldn't delete things from a collection under iteration movedKe ...

  2. 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 ...

  3. dyna Quark

    // strange dynamic treatments Instr([\dyna,\transDriven],{ arg audio=0.0,sensitivity=0.01,attack=0.01,release=0.1; // detect the slope (sensitive to transients) and use that to spike the amplitude // with variable attack and release. // you ...

  4. mx.api Quark

    ... loat values are strings keyValues = keyValuesJSON.asString.parseYAML; keyValues.keysValuesDo({ arg key, value; var inlet = unit.inlets.at(key); if(inlet.canSet, { inlet.set(inlet.spec.map(value.asFloat)); }, { Error("Cannot set value on inl ...

  5. DeferredView Quark

    DeferredView { var <view, <>action, <objects, <value; *new { |view| ^super.newCopyArgs( view ).init; } undefer { ^view.action_( action ); } defer { ^this } init { action = view.action; view.action = { |view ...args| this.updateObjects; acti ...

  6. CtLoop Quark

    ... p.put(key, { |val| proxy.set(key, key.asSpec.map(val)) }); getFunc = { proxy.getKeysValues([key])[0] }; } makeButton { |parent, bounds| Button(parent, bounds) .states_([[""], ["", Color.white, Color.red]]) .action_({ |btn| if (btn.value == ...

  7. MIDIMonitor Quark

    ... ents, then see hierarchy of messages: MIDIMonitor.postTree; MIDIMonitor.msgTree.keys; To Do: 1. abstract out consecutive note numbers and controller numbers in order to generate more compact code 2. generate concise and correct desc files 3 ...

  8. EnvM Quark

    EnvM : Env { // a mapped Env. level values are entered raw, but stored internally unmapped // note: when entering a literal array (i.e. #[0,1,0]) it will not be unmapped var <spec; var <>mapped = true; *new { arg levels = #[0,1,0], times = ...

  9. EnvM Quark

    EnvM : Env { // a mapped Env. level values are entered raw, but stored internally unmapped // note: when entering a literal array (i.e. #[0,1,0]) it will not be unmapped var <spec; var <>mapped = true; *new { arg levels = #[0,1,0], times = ...

  10. JSONlib Quark

    JSONlib { var <>postWarnings; var <>useEvent; var <>customEncoder; var <>customDecoder; *new { |postWarnings = true, useEvent=true, customEncoder=nil, customDecoder=nil| ^super.newCopyArgs(postWarnings, useEvent, customEncoder, customDecode ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow