Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (500) Code (36) Doc (222) Help (81) Quark (152) Plugin (9) SCDoc ↗ Forum ↗ Google ↗
  1. Spring Help

    ... spring spring constant (incl. mass) damp damping // examples // trigger gate is mouse button // spring constant is mouse x // mouse y controls damping ( { var inforce, outforce, freq, k, d; inforce = K2A .ar( MouseButton .kr(0,1,0)) > 0; k ...

  2. TBall Help

    ... ct friction proximity from which on attraction to surface starts // examples // mouse x controls switch of level // mouse y controls gravity ( { var t, sf; sf = K2A .ar( MouseX .kr > 0.5) > 0; t = TBall .ar(sf, MouseY .kr(0.01, 1.0, 1), 0.0 ...

  3. Ball Help

    ... ct friction proximity from which on attraction to surface starts // examples // mouse x controls switch of level ( { var f, sf; sf = K2A .ar( MouseX .kr > 0.5) > 0; f = Ball .ar(sf, MouseY .kr(0.01, 20, 1), 0.01); f = f * 10 + 500; SinOsc . ...

  4. SCUserView Help

    ... nd displays. Thus anything you can draw with the methods of Pen , combined with mouse tracking, can be used to create a vast variety of interfaces and displays. When a view is refreshed, either maunually, or triggered by a refresh of the pa ...

  5. DemandEnvGen Help

    ... seq ([204, 400, 201, 502, 300, 200], inf ), Drand ([1.01, 0.2, 0.1, 2], inf ) * MouseY .kr(0.01, 3, 1), 7 // cubic interpolation ); SinOsc .ar(freq * [1, 1.01]) * 0.1 }.play; ) // frequency modulation ( { var freq, list; list = { exprand(20 ...

  6. SCSliderBase Help

    ... Float) shift_scale A value for increment 's or decrement 's zoom argument while mouse scrolling or arrow keys, and while the shift key is pressed. shift_scale defaults to 100. aFloat - An instance of Float . ctrl_scale_(aFloat) ctrl_scale A ...

  7. LID Help

    ... to access devices in the linux input layer, which supports many input devices (mouse, keyboard, joystick, gamepad, tablet) and busses (serial, PS/2, USB). It is advised to use GeneralHID instead, which wraps the HIDDeviceService functional ...

  8. SCNumberBox Help

    ... s from SCStaticTextBase . By default, scroll is set to to true, and you can use mouse scrolling in the SCNumberBox by step. By default, the shift, ctrl, and alt keys will modify the arrow stepping and scrolling by 100x, 10x, or 0.1x repecti ...

  9. PeakFollower Help

    ... ar( Dust .ar(20, Line .kr(0, 1, 4)), 0.999) * 1500 + 200, 0, 0.2 ) }.play; ) // mouse x controls decay, center of the ( { var decay; decay = MouseX .kr(0.99, 1.00001).min(1.0); SinOsc .ar( PeakFollower .ar( Dust .ar(20), decay) * 1500 + 200 ...

  10. DegreeToKey Help

    ... number of steps per octave in the scale. The default is 12. ( // modal space // mouse x controls discrete pitch in dorian mode var scale; scale = FloatArray [0, 2, 3.2, 5, 7, 9, 10]; // dorian scale play({ var mix; mix = // lead tone SinOsc ...

1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow