Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. Envelop Quark

    ... anotherEnv.timeLine.asArray).removeDups.sort; var amp = []; timeline.do{|time, index| amp = amp.add(this.at(time) * anotherEnv.at(time)); }; ^[timeline, amp].flop.flat.pairsAsEnv; } * {|num| var level = this.levels; var time = this.times; ...

  2. MNamedList Quark

    ... mes = []; super.clear; } // replaces if name is there basicAdd { |key, val| var index = names.indexOf(key); if (index.notNil) { array.put(index, val); dict.put(key, val); ^this }; array = array.add(val); names = names.add(key); dict.put(key ...

  3. Store Quark

    ... type, subtype, format, settings]); return = true; }); ^return; } *removeAt {arg index; stores.removeAt(index); storeIDs.removeAt(index); } *indexArr {var result; if(storeIDs.notNil, { result = ([Array.series(storeIDs.size)] ++ [storeIDs]).f ...

  4. SplineOsc Quark

    ... ine x values are seconds // if timeScale is tempo then x values are beats var b,index; b = this.asLocalBuf(divisions); if(loop,{ index = VarSaw.kr(this.duration.reciprocal * timeScale,width:1).range(0,divisions-1) },{ index = Line.kr(0.0,di ...

  5. NamedList Quark

    ... mes = []; super.clear; } // replaces if name is there basicAdd { |key, val| var index = names.indexOf(key); if (index.notNil) { array.put(index, val); dict.put(key, val); ^this }; array = array.add(val); names = names.add(key); dict.put(key ...

  6. GMSymbolMultiSlider Quark

    ... ze); symbolSize = max(symbolSize, thisSymbolMinSize); super.values.do({ |value, index| if(super.orientation == \horizontal) { if(super.polarity == \uni) { symbolPosition = super.getYValueMapping( value, super.min, super.max, super.scale, su ...

  7. busdict3 Quark

    ... ); (rate == \audio).if({ // add to audio dictionary audioNames.at(server).put(b.index, name); audioObjects.at(server).put(b.index, b); }, { // else put in control dictionary controlNames.at(server).put(b.index, name); controlObjects.at(serv ...

  8. busdict3 Quark

    ... ); (rate == \audio).if({ // add to audio dictionary audioNames.at(server).put(b.index, name); audioObjects.at(server).put(b.index, b); }, { // else put in control dictionary controlNames.at(server).put(b.index, name); controlObjects.at(serv ...

  9. HelpSynthPar Quark

    ... , USA. */ HSpar : HelpSynthPar {} HelpSynthPar : HelpSynth { var <>currentSwitchIndex, <>currentHSindices, <>lastIndex, <>lastPause, <>switchCounter = -1, // OSC bookkeeping when PHSparPlayer or PHSusePlayer involved: // size fixed at init ...

  10. FoaMatrixChain Quark

    ... ining each branch in the chain chains = List(); this.addChain(0); } addChain { |index| // create a chain chains.insert(index, List()); this.changed(\chainAdded, index); if(index == 0, { this.addTransform('a soundfield', index, 0) // first " ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow