Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (185) Code (46) Doc (39) Help (21) Quark (77) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. Smooth_Clipping_and_Folding Doc

    ... * preAmp, foldRange: foldRange, smoothAmount: smoothAmount ) * localOscSize ) * BufFrames.ir(bufnum) ); // as local oscillation can stick with positive or negative values, a dc leaker is recommended Out.ar(0, LeakDC.ar(sig) * EnvGate.new) } ...

  2. PG_06g_Data_Sharing Doc

    ... ExampleFiles.child); 0.2.yield; // sync seems to be incompatible with patterns ~bufFrames = ~buf.numFrames; }, Pbind( \instrument, \playbuf, // access resources in the protoevent by Pkey \bufnum, Pkey(\buf), \dur, Pwhite(1, 4, inf) * 0.25, ...

  3. Buffer_Granulation Doc

    ... is triggered for each grain playbuf = PlayBuf.ar(1, soundBuf, rate, env, pos * BufFrames.ir(soundBuf), 1); dUgen = Dwhite(0, 1); // multichannel trigger used to poll values from drate ugen bpFreq = Demand.ar(env, 0, dUgen).linlin(0, 1, bpL ...

  4. ServerPluginAPI Doc

    ... mber of channels in the buffer bufSamples - the number of samples in the buffer bufFrames - the number of frames in the buffer The buffer is locked using the LOCK_SNDBUF macro. Buffer lock operations are specific to supernova, and don't do ...

  5. QuickStart Doc

    ... layBuf.ar(1, bufnum, BufRateScale.kr(bufnum), trig, speed.linlin(0, 10.0, 5000, BufFrames.kr(bufnum)), 0)*0.7; Decay2.ar(trig, 0.01, 0.1, in); } ); ~steeringBehavior1 = Arrive(~unit1.entity, RealVector2D[18, 20.5]); ~unit1.entity.force_({ a ...

  6. recursive_phrasing Doc

    ... n: Done.freeSelf); Out.ar(out, BufRd.ar(1, bufnum, Line.ar(from, to, sustain) * BufFrames.kr(bufnum) ) * env ) }).add; ) b = Buffer.read(s, ExampleFiles.child) ( Pdef(\poch, { arg sustain=1.0, from=0.0, to=1.0, n=3; var step; sustain = sust ...

  7. kitchen_studies Doc

    ... pos; src = PlayBuf.ar(1, sndBuf, BufRateScale.kr(sndBuf) * rate, 1, round(pos * BufFrames.kr(sndBuf)), 1, 2); env = EnvGen.ar( Env([0, amp, amp, 0], [att, granDur - att - rel, rel], 0), doneAction: 2 ); OffsetOut.ar(out, Pan2.ar(src, pan) * ...

  8. Tour_of_UGens Doc

    ... se.kr(MouseY.kr(0.5,200,1)); PlayBuf.ar(1,b,BufRateScale.kr(b),trig,MouseX.kr(0,BufFrames.kr(b)),1) }.scope(1); ) // accelerating pitch ( { var rate; rate = XLine.kr(0.1,100,60); PlayBuf.ar(1, b, rate, 1.0,0.0, 1.0) }.scope(1); ) // sine wa ...

  9. ClassTree Doc

    ... nnels of soundfile in buffer. BufDur - Current duration of soundfile in buffer. BufFrames - Current number of frames allocated in the buffer. BufRateScale - Buffer rate scaling in respect to server samplerate. BufSampleRate - Buffer sample ...

prev 1 2 3 4

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow