Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (513) Code (102) Doc (171) Help (75) Quark (148) Plugin (17) SCDoc ↗ Forum ↗ Google ↗
  1. stutter and tape stop fx by 0-2U (grirgz) Code

    ... top rate = EnvGen.kr(Env([1,1,tapelevel],[0,tapetime]), choosetrig); sig2 = PlayBuf.ar(2, buf, rate, choosetrig, loop:1); // stutter env = EnvGen.ar(Env([0,1,1,0],[attack, 1/stutter, decay]), stuttrig); sig3 = PlayBuf.ar(2, buf2 ...

  2. MultiTap Help

    ... ) This is a wrapper which creates a multiple tap delay line using RecordBuf and PlayBuf . timesArray - a Ref to an Array of delay times in seconds. levelsArray - a Ref to an Array of amplitudes. in - the input signal. bufnum - the number of ...

  3. BufRd Help

    ... means no interpolation, 2 is linear, 4 is cubic interpolation in comparison to PlayBuf : PlayBuf plays through the buffer by itself, BufRd only moves its read point by the phase input and therefore has no pitch input BufRd has variable int ...

  4. freeze playback by till-bovermann (LFSaw) Code

    ... (modSource + rateDir)) // "freeze" ) * \rate.kr(1) * rateScale; var snd = PlayBuf.ar( numChannels: numChannels, bufnum: bufnum, rate: rateFX, trigger: \trig.tr(1), loop: 1 ); snd = LPF.ar(HPF.ar(snd, \hpFreq.kr(10 ...

  5. SC2 Compat Plugin

    ... TapN { *ar {arg bufnum, numChannels=1, delaytime = 0.2, mul = 1.0, add = 0.0; ^PlayBuf.ar( numChannels, bufnum, 1.0, 1.0, delaytime*BufSampleRate.kr(bufnum) * -1, 1.0).madd(mul,add) } } DelayWr { *ar { arg bufnum, in = 0.0; ^RecordBuf.ar( ...

  6. PV_MagLog Plugin

    ... Def ( "help-maglog" , { arg out=0, bufnum=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT (bufnum, in); chain = PV_MagLog (chain); // No effect; just convert to log and ...

  7. ATK-SynthDef-Examples Doc

    ... Def(\kernelDecode, {arg buffer; var out, src; // play B-format sound file src = PlayBuf.ar(sndbuf.numChannels, buffer, BufRateScale.kr(buffer), loop: 1); // decode using decoder out = FoaDecode.ar(src, decoder); Out.ar(0, out); }).add; s.sy ...

  8. XiiSynthDefs Quark

    ... *2, vol), doneAction:2); env = Select.kr(envType, [sineenv, percenv]); signal = PlayBuf.ar(1, bufnum, rate, 1.0, pos) * env ; Out.ar(outbus, Pan2.ar(signal, Rand(-0.75, 0.75))); }); /* // One day I'll use Josh's BufGrain SynthDef(\xiiGrain, ...

  9. lcode07synths.scd by 0-91 (tedthetrumpet) Code

    ... myenv = Env.asr(attackTime: 0.01, sustainLevel: 1, releaseTime: 0.1); sig = PlayBuf.ar(2, buf, BufRateScale.kr(buf) * rate, startPos: start); env = EnvGen.kr(myenv, gate, doneAction: 2); Out.ar(out, sig * env * amp) }).add; Synt ...

  10. DXEnvFan Quark

    ... e and trigger at the same time, which leads to applications such as crossfading PlayBufs and different kinds of granulation, using a buffer or not. NOTE: As interface and conventions of DX ugens are nearly identical, I didn't double example ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow