Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (503) Code (48) Doc (99) Help (19) Quark (336) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. envelope Quark

    ... ld have levels between 0 and 1, which will be mapped with according to the \amp ControlSpec. timeScale: time scale multiplier -- this is an Udef definition file part of the Unit lib default Udefs set */ MultiChannelUdef( \envelope_amp, { va ...

  2. instrSupport Quark

    ... } color { ^Color( 0.47843137254902, 0.72941176470588, 0.50196078431373 ) } } + ControlSpec { defaultControl { arg val; ^KrNumberEditor.new(this.constrain(val ? this.default),this); } rate { ^\control } optimalRange { arg stdDev=0.3; var li ...

  3. instrSupport Quark

    ... } color { ^Color( 0.47843137254902, 0.72941176470588, 0.50196078431373 ) } } + ControlSpec { defaultControl { arg val; ^KrNumberEditor.new(this.constrain(val ? this.default), this); } rate { ^\control } optimalRange { arg stdDev=0.3; var l ...

  4. BusDriver Quark

    ... isKindOf(StreamSpec),{ valuesSpec = valuesSpec.itemSpec; if(valuesSpec.isKindOf(ControlSpec),{ makeSpec = ControlSpec(valuesSpec.minval,valuesSpec.maxval,valuesSpec.warp, valuesSpec.step,valuesSpec.default,valuesSpec.units); ^makeSpec }); } ...

  5. BusDriver Quark

    ... sKindOf(StreamSpec), { valuesSpec = valuesSpec.itemSpec; if(valuesSpec.isKindOf(ControlSpec), { makeSpec = ControlSpec(valuesSpec.minval, valuesSpec.maxval, valuesSpec.warp, valuesSpec.step, valuesSpec.default, valuesSpec.units); ^makeSpec ...

  6. extVarGui_3 Quark

    ... rs = varCtrSliders.add( sliderClass.new(cview, sliderWidth @ sliderHeight, str, ControlSpec(*(varCtr[i+1][j].copyFromStart(3))), {|ez| this.performSliderActions(varCtr[i], ez.value, \var, mod, i.div(2), j) }, varCtr[i+1][j].at(4), labelWidt ...

  7. MxChannel Quark

    ... nsToBus({chan.source.bus}, {chan.server}, {chan.mixGroup}))/*, MxInlet("db", 1, ControlSpec(-inf, 6.0, 'db', 0.0, -inf, " dB"), MxSetter({ arg v; chan.fader.db = v }) ) */ ]; outlets = [ MxOutlet("MxChanOut", 0, AudioSpec(chan.numChannels), ...

  8. XiiSpectralEffects Quark

    ... ampleRate.ir(0)) * dryvol) + (IFFT(chain).dup * vol)); }).load(s); threshSpec = ControlSpec.new(0.01, 40, \exp, 0.01, 5); if(channels == 2, { // stereo buffer = Buffer.alloc(s, 2048, 2); // a four second 2 channel Buffer }, { buffer = Buffe ...

  9. extControlSpec Quark

    +ControlSpec { setFrom { |otherSpec| // Note that ownership with grid and warp are weird - they point back to // the owning spec, so these need to be copied and re-setup in this case. this.minval = otherSpec.minval; this.maxval = otherSpec. ...

  10. round Quark

    ... }, [ \precision, 1.0, \mode, \xy ] ) .changesT_( false ) .setSpec( \precision, ControlSpec(0,200, 10.calcCurve(0,200), 0, 1 ) ) .setSpec( \mode, ListSpec([\xy, \angle, \distance]) );

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow