Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (503) Code (48) Doc (99) Help (19) Quark (336) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code

    ... ( win, Rect(5, height + 10, width-10, 20), "freq of input wave (red):", ControlSpec(1, 40, 'lin', 0, 20), {|slider| freq = slider.value; win.refresh }, 1, labelWidth: 200, initAction: true ); sr = EZSlider( win, Rect ...

  2. extControlSpec Quark

    +ControlSpec { // a hasZeroCrossing variant that also detects if minval or maxval is 0 safeHasZeroCrossing { var thisMinSign, thisMaxSign; #thisMinSign, thisMaxSign = [minval, maxval].collect{ |val| if(val.isArray) { val.sign.mean } { val.s ...

  3. type Quark

    ... .setSpec( \type, ListSpec( [ \bspline, \cubic, \linear ] ) ) .setSpec( \curve, ControlSpec( 0, 2, \lin, 0.1, 1 ) ) .setSpec( \clipMode, ListSpec( [ \clip, \wrap, \fold ] ) ) .useSelection_( false );

  4. AutoRand Quark

    ... ").front; w.addFlowLayout; e = EZSlider(w, 300@20, \freq, \freq); AutoRand(e, e.controlSpec, 0.2).makeButton(w, Rect(0,0,20,20)); f = EZSlider(w, 300@20, \freq, \freq); a = AutoMod(f, { |amod, val| (val * rrand(0.9, 1.1)).postln; }, 0.2).ma ...

  5. SplineMapper Quark

    ... spline dimension: 0: x is input, y is output 1: y is input, x is output inSpec: ControlSpec of the input range outSpec: ControlSpec of the output range ( b = BSpline([ [ 0.0, 0.0 ], [ 0.28177966101695, 0.27 ], [ 0.77118644067797, 0.932 ], [ ...

  6. envelope Quark

    ... ld have levels between 0 and 1, which will be mapped with according to the \amp ControlSpec. -- this is an Udef definition file part of the Unit lib default Udefs set */ Udef( \envelope_amp, { var in; in = UIn.ar(0); in = in * UEnvGen.ar( \ ...

  7. sGliss Quark

    ... ent= SGUIelement(); var ampRandRateElement= SGUIelement(); var ampRandRateSpec= ControlSpec(0.05, 5, 'lin', 0, 1); var ampRampFreqElement= SGUIelement(); var ampRampFreqSpec= ControlSpec(-1, 1, 'lin', 0, -0.01); var ampRampRateElement= SGUI ...

  8. README Quark

    ... -- possible mapping points (*parameters*) - ```m.gens[\name].getSpec``` -- all ControlSpecs - ```m.gens[\name].getSpec(<controlKey>)``` -- ```ControlSpec``` for a controlKey + set e.g. via ```m.gens[\name].addSpec(\blink, [1, 10, \exp]);`` ...

  9. ScatterView2 Doc

    ... bounds The bounds, a Rect data An array of [[x0,y0], [x1,y1], ...[xN,yN]] specX ControlSpec with min/max of the plotted range of dimension X specY ControlSpec with min/max of the plotted range of dimension Y Inherited class methods Instance ...

  10. sDrone Quark

    ... ent= SGUIelement(); var ampRandRateElement= SGUIelement(); var ampRandRateSpec= ControlSpec(0.05, 5, 'lin', 0, 2); var ampRampFreqElement= SGUIelement(); var ampRampFreqSpec= ControlSpec(-1, 1, 'lin', 0, -0.01); var ampRampRateElement= SGUI ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow