Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (133) Code (19) Doc (34) Help (11) Quark (62) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. K2A Help

    K2A control rate to audio rate converter K2A.ar(in) To be able to play a control rate UGen into an audio rate UGen, sometimes the rate must be converted. K2A converts via linear interpolation. in - input signal { K2A .ar( WhiteNoise .kr(0.3 ...

  2. T2A Help

    ... audio rate trigger converter inherits from: Object : AbstractFunction : UGen : K2A Converts control rate trigger into audio rate trigger (maximally one per control period). T2K.ar(in, offset) in - input signal offset - sample offset within ...

  3. Spring Help

    ... x // mouse y controls damping ( { var inforce, outforce, freq, k, d; inforce = K2A .ar( MouseButton .kr(0,1,0)) > 0; k = MouseY .kr(0.1, 20, 1); d = MouseX .kr(0.00001, 0.1, 1); outforce = Spring .ar(inforce, k, d); freq = outforce * 400 + ...

  4. BufFrames Help

    ... ale .kr(0), 0, BufFrames .kr(0))) }.play; // indexing by hand { BufRd .ar(1, 0, K2A .ar( MouseX .kr(0, BufFrames .kr(0)))) }.play;

  5. BufSamples Help

    ... le .kr(0), 0, BufSamples .kr(0))) }.play; // indexing by hand { BufRd .ar(1, 0, K2A .ar( MouseX .kr(0, BufSamples .kr(0)))) }.play;

  6. Ball Help

    ... face 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 .ar(f, 0, 0.2) }.play; ) // mouse x controls modulatio ...

  7. DemandEnvGen Help

    ... Dseries (-0.1, 0.01, 20)], inf ), SampleDur .ir * MouseY .kr(1, 100, 1), 1, 0, K2A .ar(1), Impulse .ar( MouseX .kr(1, SampleRate .ir * MouseX .kr(0.002, 1, 1), 1), 0, 1.5) ) }.scope; ) // softsyncing a saw ( { DemandEnvGen .ar( Dseq ([ Dse ...

  8. TBall Help

    ... ouse 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.01); Pan2.ar( Ringz .ar(t * 10, 1200, 0.1), MouseX.kr(-1,1)); }.play; ) // mouse x ...

  9. Loudness Help

    ... b, in); loudness= Loudness .kr(fft, 0.25,6).poll(50); Out .ar(0, Pan2 .ar(in)); K2A .ar(loudness*0.016) }.plot(2.0) ) Research note: This UGen is an informal juxtaposition of perceptual coding, and a Zwicker and Glasberg/Moore/Stone loudnes ...

  10. SCLevelIndicator Help

    ... // measure rms and Peak SendReply .kr(imp, '/levels' , [ Amplitude .kr(colum), K2A .ar( Peak .ar(colum, delimp).lag(0, 3))]); colum; }.play; ) // a window and responder // default style is coloured / solid ( w = Window .new.front; a = SCLe ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow