Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. ToggleFF Help

    ... es between zero and one upon receiving a trigger. trig - trigger input ( play({ SinOsc .ar(( ToggleFF .ar( Dust .ar( XLine .kr(1,1000,60))) * 400) + 800, 0, 0.1) }))

  2. ControlRate Help

    ... // example { ControlRate .ir.poll }.play; // play a sine tone at control rate { SinOsc.ar(ControlRate .ir) * 0.1 }.play;

  3. PV_JensenAndersen Help

    ... Andersen .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 ( { var source1, detect, ...

  4. PV_ConformalMap Help

    ... maginary part of a. See also FFT Overview . // examples ( { var in, chain; in = SinOsc .ar(450) * 0.1; chain = FFT ( LocalBuf (2048), in); chain = PV_ConformalMap (chain, MouseX .kr(-1.0,1.0), MouseY .kr(-1.0,1.0)); IFFT (chain).dup; }.play ...

  5. Spring Help

    ... force, k, d); freq = outforce * 400 + 500; // modulate frequency with the force SinOsc .ar(freq, 0, 0.2) }.play; ) // several springs in series. // trigger gate is mouse button // spring constant is mouse x // mouse y controls damping ( { v ...

  6. TDelay Help

    ... seconds. ( { z = Impulse .ar(2); [z * 0.1, ToggleFF .ar( TDelay .ar(z, 0.5)) * SinOsc .ar(mul: 0.1)] }.scope)

  7. FreeSelfWhenDone Help

    ... nv = Line .kr(0, 1, 1); FreeSelfWhenDone .kr(env); // free synth at end of line SinOsc .ar(200, 0, 0.5) * env }.play; ) // the previous example works, because FreeSelfWhenDone operates on the Line // this version won't work ( { var env, out ...

  8. SynthDef Help

    ... the same for every Synth based on it: ( SynthDef ( \help_notRand , { Out .ar(0, SinOsc .ar(rrand(400, 800), 0, 0.2) * Line .kr(1, 0, 1, doneAction: 2) ) }).add; ) a = Synth ( \help_notRand ); b = Synth ( \help_notRand ); // the same freq as ...

  9. 6_Controls Help

    ... hDef ( "withControls" , { arg freq = 440, beatFreq = 1, mul = 0.22; Out .ar( 0, SinOsc .ar([freq, freq+beatFreq], 0, mul) ) }).load(s); ) // items in the array are passed to the controls in Synth when it's created z = Synth ( "withControls" ...

  10. Dser Help

    ... = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; )

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow