Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. birdy by vividsnow (vividsnow) Code

    controlling arrayed args using pattern ( fork { var size = 3.rrand(10).debug('envelope size'); {|dur=1, amp=0.8, pan = 0| Pan2.ar( SinOsc.ar( EnvGen.ar(Env(\freq_l.kr(400!size), \freq_d.kr( ...

  2. Waveshaping GUI Demo 1 by bruno (Bruno Ruviaro) Code

    ... Note: this patch makes no sound. It is just a visual demo. */ ( var size = 256, inputWaveform, transferFunction, updateOutput, currentScale = 1, windowColor, buttonArray, linearFunction, chebyFunction1, chebyFunction2; // // ...

  3. extCollection Quark

    ... ach { |signalNameOrFunc, dependantList, methodNameOrFunc| var tempVal; if (this.size != dependantList.size) { Error("connectEach requires collections of equal size (this.size = %, other.size = %)".format(this.size, dependantList.size)).thro ...

  4. GMCycleView Quark

    ... nc_({ this.draw; }); thisCycles = [4, 4, 4]; thisStates = Array.fill(thisCycles.size, { 0 }); } cycles { ^thisCycles } cycles_ { |anArray| thisCycles = anArray; this.reset; } states { ^thisStates } states_ { |anArray| while { anArray.size < ...

  5. periods Quark

    ... j).if { 1 }{ 0 } } } } miSC_smallestPeriodLength { var length = 1, i, z = this.size; while { length + 1 <= z }{ i = 0; while { i + 1 <= z }{ (this[i % length] != this[i]).if { i = z }; i = i + 1; (i == z).if { ^length } }; (length + 1 == z ...

  6. Fb1 Quark

    ... kward compatibility the old convention of new = ar is kept *new { |func, in, outSize = 0, inDepth = 1, outDepth = 2, inInit, outInit, blockSize = 64, blockFactor = 1, graphOrderType = 1, leakDC = true, leakCoef = 0.995| ^Fb1.ar(func, in, ou ...

  7. Bjorklund Quark

    ... plit(arr); //#a, b= arr.separate(_ != _); //optional simplification by jhr if(b.size>1 and:{a.size>0}, { ^this.prFromArray(this.prLace(a, b)); }, { ^(a++b).flat; }); } *prSplit {|arr| var item= arr[arr.size-1]; var index= arr.indexOfEqual(i ...

  8. SynthTracker Quark

    ... me = defName.asSymbol; //SynthTracker.initialize; if( runningSynths.at(defName).size < maxCount ) { synth = Synth.newKeepArgs(defName, args.asArgsArray, server, addAction); synth.isPlaying = true; if( watch ) { NodeWatcher.register(synth); ...

  9. SatieGUI Quark

    ... eGUI { var context; var <>satieGuiWidth; var <>satieGuiHeight; var <>satieObjectSize; var <>satieGuiScale; var satieGuiOrigin; var origin; var vbapSurfaceDiameter; var <>satieObjects; *new {|satieContext| if (satieContext.class == Satie, { ...

  10. ZArchive Quark

    ... if assertClass not nil, it will assert that the item is of that class var type, size, thing, classname; if(count > 0, { count = count - 1; ^lastItem }); type = this.getChar; if(type == $., { // ... repetition count = this.getInt32 - 1; ^las ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow