Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (193) Code (4) Doc (54) Help (20) Quark (111) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. JSONlib Quark

    ... f(Symbol) } { this.prConvertToJson(v.asString) } // only check value if it is a ref { v.isNil or: { v.isKindOf(Ref) and: { v.value.isNil } } } { "null" } // sc closely implements the JSON string, see https://www.json.org/json-en.html // but ...

  2. RedMixer Quark

    ... ); } initRedMixer {|argInputChannels, argOutputChannels, lag| cvs= (); cvs.lag= Ref(lag); //--temp storage to avoid channel arguments for init internalInputChannels= argInputChannels; internalOutputChannels= argOutputChannels; } init {|argG ...

  3. StenoSettings Quark

    ... t(token) !? { synthSettings.at(token).keysValuesDo { |key, val| if(val.isKindOf(Ref)) { // ref means that all subsequent synths on the same level will inherit the value current.put(key, val.dereference); } { thisSetting.put(key, val) } } }; ...

  4. MultiChannel Help

    ... as inputs. Since all arrays are expanded, you need to protect some arrays by a Ref object. A Ref instance is an object with a single slot named 'value' that serves as a holder of an object. Ref.new(object) one way to create a Ref, but ther ...

  5. MultiTap Doc

    ... levelsArray , in: 0.0 , mul: 1.0 , add: 0.0 , bufnum ) Arguments: timesArray A Ref to an Array of delay times in seconds. levelsArray A Ref to an Array of amplitudes. in The input signal. mul Output will be multiplied by this value. add Th ...

  6. jitlib_basic_concepts_01 Doc

    jitlib_basic_concepts_01: Filter: What is a proxy? using a Ref as a proxy using a Function as a proxy NodeProxy, ProxySpace, Ndef Tutorials/JITLib | JITLib > Tutorials'>Tutorials | Tutorials > JITLib'>JITLib jitlib_basic_concepts_01 some pl ...

  7. Voicer-ext Quark

    + Ref { draggedIntoVoicerGUI { |dest| value.draggedIntoVoicerGUI(dest) } } + Object { draggedIntoVoicerGCGUI { |gui| if(this.respondsTo(\asSpec)) { gui.model.spec = this.asSpec; } } // asTestUGenInput { ^this.asUGenInput } } // needed becau ...

  8. Stream2Trig Doc

    ... for the level of each trigger 1.0 Prand([1,0],inf) { 1.0.rand } `[ 1,0,1,0,] // Ref converted into Pseq([1,0,1,0],inf) deltas A stream of values for the delta in beats between each trigger. 0.25 Prand([0.25,0.5],inf) FuncStream({ rrand(0.12 ...

  9. jitlib_basic_concepts_01 Help

    ... te function calls to different objects for example) but specially functions and references can be used as operands while they keep their referential quality. see also: OutputProxy Function Ref using a Ref as a proxy: // reference example // ...

  10. RedMixerChannelGUI Quark

    ... ; }; controllers.add( SimpleController(redMixerChannel.cvs.peaks).put(\value, {|ref| defer{ ref.value.do{|x, i| if(x>1 and:{peakButtons[i].value==0}, { peakButtons[i].value= 1; }, { if(x<=1 and:{peakButtons[i].value==1}, { peakButtons[i].va ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow