Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... or thumbHeight are typically used for only one dimension. x and y are used for mouse clicks. Take a look at a similar SC widget to see what the standard instance variables are. 2. Define the viewClass to SCUserView This is mandatory. You m ...

  2. PV_HainsworthFoote Help

    ... .1)); [source1, signal]; }.play; ) // not so sucessful with this test sound: // mouse y is difficulty, mouse x is threshold ( { var source1, detect, difficulty, rate, trig, n = 20; rate = LFNoise1 .kr(0.3).exprange(1, 5); difficulty = Mouse ...

  3. PV_JensenAndersen Help

    ... 0); detect = PV_JensenAndersen .ar( FFT ( LocalBuf (2048), source1), threshold: MouseX .kr(0.1,1.0)); SinOsc .ar([440, 445], 0, Decay .ar(0.1 * detect, 0.1)); }.play; ) // using test sound: // mouse y is difficulty, mouse x is threshold ( { ...

  4. SCView Help

    ... all gui views, in particular defining actions, defining drag and drop, defining mouse actions, and defining key actions. See also: SCWindow , GUI Some Important Issues Regarding SCView If you try to set parameters of a GUI widget from a Rou ...

  5. Formlet Help

    ... 1000, 0.1); Formlet .ar(in, XLine .kr(1500,700,8), 0.005, 0.04); }.play; ) ( // mouse control of frequency and decay time. { var in; in = Blip .ar( SinOsc .kr(5,0,20,300), 1000, 0.1); Formlet .ar(in, MouseY .kr(700,2000, 1 ), 0.005, MouseX ...

  6. MouseButton Help

    MouseButton mouse button ugen superclass: UGen *kr(minval, maxval, lag) minval value when the key is not pressed maxval value when the key is pressed lag lag factor see also MouseX , MouseY //example { SinOsc .ar( MouseButton .kr(400, 440, ...

  7. GrainSin Help

    ... sin_grain_test , { arg gate = 1, amp = 1, envbuf; var pan, env, freqdev; // use mouse x to control panning pan = MouseX .kr(-1, 1); // use WhiteNoise and mouse y to control deviation from center pitch freqdev = WhiteNoise .kr( MouseY .kr(0, ...

  8. GrainFM Help

    ... \fm_grain_test , { arg gate = 1, amp = 1, envbuf; var pan, env, freqdev; // use mouse x to control panning pan = MouseX .kr(-1, 1); // use WhiteNoise and mouse y to control deviation from center pitch freqdev = WhiteNoise .kr( MouseY .kr(0, ...

  9. RunningMax Help

    ... * 500 + 200, 0, 0.2 ) }.play; ) // follow a sine lfo, reset rate controlled by mouse x ( { SinOsc .ar( RunningMax .kr( SinOsc .kr(0.2), Impulse .kr( MouseX .kr(0.01, 2, 1))) * 500 + 200, 0, 0.2 ) }.play; )

  10. RunningMin Help

    ... * 500 + 200, 0, 0.2 ) }.play; ) // follow a sine lfo, reset rate controlled by mouse x ( { SinOsc .ar( RunningMin .kr( SinOsc .kr(0.2), Impulse .kr( MouseX .kr(0.01, 2, 1))) * 500 + 200, 0, 0.2 ) }.play; )

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow