Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Patch(Instr("FFTblank",{FFT(LocalBuf(2048),Silent.ar)},[],\fft)) } } TrigSpec : ControlSpec { defaultControl { ^BeatClockPlayer.new(4.0) } *initClass { specs.addAll( [ \trig -> this.new, \gate -> this.new ]; ) } canAccept { arg thing; // co ...

  2. MoreSpecs Quark

    ... h(Instr("FFTblank", {FFT(LocalBuf(2048), Silent.ar)}, [], \fft)) } } TrigSpec : ControlSpec { defaultControl { ^BeatClockPlayer.new(4.0) } *initClass { specs.addAll( [ \trig -> this.new, \gate -> this.new ]; ) } canAccept { arg thing; // co ...

  3. extCVForTouch Quark

    ... elta | ^spec = spec.asTouch(this, dur, delta) } setValue{ | v | value = v; } } +ControlSpec { asTouch { | cv, dur, delta | ^Touch(this, cv, dur, delta) } }

  4. index_of_nearest Quark

    ... rest" ).category_( \operator ) .mappedArgs_( [ \range ] ) .setSpec( \vals, ArrayControlSpec(0,1,\lin,default: 0.5!n ).size_(n) ) .setSpec( \nearestTo, ControlSpec(0,1,\lin,default: 0.5 ) ) .setSpec( \range, ControlSpec(0.0,1.0,\lin).asRange ...

  5. rotate Quark

    ... h.positions.collect(_.rotate(rotate)) ); }, [ \rotate, 0 ] ) .setSpec( \rotate, ControlSpec( -180, 180, \lin, 0, 1 ) ) .useSelection_( true );

  6. TaskUMapDef Quark

    ... ); } initFunc { |inTaskFunc| taskFunc = inTaskFunc; argSpecs = ([ [ \value, 0, ControlSpec(0,1) ], [ \u_task, nil, AnythingSpec(), true ], // func can store things here [ \u_release_task, nil, AnythingSpec(), true ], [ \u_dur, 1, ControlSp ...

  7. TaskUMapDef Quark

    ... ); } initFunc { |inTaskFunc| taskFunc = inTaskFunc; argSpecs = ([ [ \value, 0, ControlSpec(0,1) ], [ \u_task, nil, AnythingSpec(), true ], // func can store things here [ \u_release_task, nil, AnythingSpec(), true ], [ \u_dur, 1, ControlSp ...

  8. CCResponder Quark

    var cs; cs = ControlSpec(0, 127, \lin, 1); MxUnit.register('CCResponder', ( make: { arg ccr; var inlets, outlets, sips; ccr.function = { |port, chan, num, value| ~value = value; ~source.changed(value) }.inEnvir; inlets = []; outlets = [ MxO ...

  9. SCMSliderViewFactory Quark

    ... s Klaassen (2021Q4) */ SCMSliderViewFactory { *createInstance { |caller, class, controlSpec, initVal, labelText| var newInstance = SCMSliderView(); class = class.asString(); newInstance.numberBoxView .background_(Color.white.alpha_(0.5)) .m ...

  10. asJSON Quark

    + Spec { asJSON { ^( rate: this.rate, class: this.class.name ) } } + ControlSpec { asJSON { ^( rate: this.rate, class: this.class.name, minval: this.minval, maxval: this.maxval, warp: this.warp.asSpecifier, step: this.step, default: this.de ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow