Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (6250) Code (55) Doc (3760) Help (348) Quark (2069) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. SeqCol-asAddendsOf Plugin

    ... ngth of a measure. asAddendsOf{ arg sum; var result, values, val; result = this.class.new; values = this.copy; while({ sum > 0 },{ val = values.choose; if( val <= sum, { result = result.add(val); sum = sum - val; }, { // value can't be used ...

  2. MCLDTreeUGens Plugin

    /* hyperplane-based tree classifiers, (c) 2009-2011 Dan Stowell */ PlaneTree : UGen { *kr { |treebuf, in, gate=1| ^this.multiNew('control', treebuf, gate, *in) } *categories { ^ #["UGens>Analysis"] } // a LANGUAGE-SIDE equivalent of the cla ...

  3. MCLDBufferUGens Plugin

    ... ntrol', bufnum, reset, numframes]) } *categories { ^ #["UGens>Buffer"] } } GaussClass : UGen { *kr { | in, bufnum=0, gate=0 | ^this.multiNewList(['control', bufnum, gate] ++ in.asArray) } *categories { ^ #["UGens>Analysis", "UGens>Buffer"] ...

  4. Feedback Plugin

    Feedback { //basic feedback class... buffer size needs to be the same as the delayTime //e.g. for a 0.1 sec delay time, a buffer should be allocated as such: //s.sendMsg(\b_alloc, 1, 44100*0.1, 1); *ar {arg in, feedbackpct = 1, delayTime = ...

  5. BBlockerProgram Plugin

    BBlockerProgram { classvar <instructions, descs; var <program, <>fillUpRandom = false; var collection; *new {|program| ^super.new.init(program) } init {|argProgram| this.class.initStates; program = argProgram.asArray; } // search in descs * ...

  6. LadspaUGen Plugin

    LADSPA : MultiOutUGen { classvar <>ladspalist_path; *ar {|nChans, id ... args| ^this.multiNewList(['audio',nChans,id] ++ args); } init {|... theInputs| inputs = theInputs; channels = {|n| OutputProxy(rate, this, n)} ! inputs[0]; if (inputs[ ...

  7. FM7 Plugin

    ... ix).slice(channels) } init { | ... args | inputs = args; ^this.initOutputs(this.class.numOperators, rate) } checkInputs { ^if (inputs.size != this.class.numRequiredInputs) { this.class.numRequiredInputs.asString + "inputs required (" ++ inp ...

  8. Neuromodules Plugin

    MultiOutDemandUGen : DUGen { // a class for UGens with multiple outputs var <channels; *newFromDesc { arg rate, numOutputs, inputs; ^super.new.rate_(rate).inputs_(inputs).initOutputs(numOutputs, rate) } initOutputs { arg numChannels, rate; ...

  9. MCLDPollUGens Plugin

    ... width=21, reset=0, ana; var releaseTime; label = label ?? { "UGen(%)".format(in.class) }; label = label.asString.collectAs(_.ascii, Array); if(ana.isNil){ana = {|sig| releaseTime = if(trig.isNumber){1/trig}{5}; if(rate === \audio){ A2K.kr(A ...

  10. STKtest Plugin

    ... / Some of these UGens are rather buggy and don't behave right... // look up the class files to see which arguments each of the synths have s =Server.local.boot {StkPluck.ar}.play(s) {StkMandolin.ar(mul:3)}.play(s) // prob {StkSaxofony.ar(mu ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow