Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (326) Code (49) Doc (105) Help (57) Quark (105) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. WaveLoss Doc

    ... ree the buffer later. ( x = { var sig, mode, woo; sig = PlayBuf.ar(1, b.bufnum, BufRateScale.kr(b.bufnum) * 0.75, startPos: 92898, loop: 1); woo = { WaveLoss.ar(sig, EnvGen.kr(Env.new([199, 199, 150, 150, 199, 250], [20, 40, 60, 60, 100]), ...

  2. LoopBuf Doc

    ... n.ar(Env.adsr(0.1,0.2,1,2), gate, doneAction: 2); signal = LoopBuf.ar(1,bufnum, BufRateScale.kr(bufnum) * rate, gate+loopRel, startPos, startLoop, endLoop, ipol); Out.ar(out, (signal * env).dup); }).send(s); ) // start playback s.sendMsg("/ ...

  3. PV_MagMap Doc

    ... ap, {arg fftbuf, envbuf, sndbuf; var in, chain, out; in = PlayBuf.ar(1, sndbuf, BufRateScale.kr(sndbuf), loop: 1); chain = FFT(fftbuf, in); chain = PV_MagMap(chain, envbuf); out = IFFT(chain); Out.ar(1, out); }).add; s.boot; // the fft buf ...

  4. PV_BufRd Doc

    ... r(1, 1, BufDur.kr(soundBufnum), doneAction: 2); in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 0); // note the window type and overlaps... this is important for resynth parameters chain = FFT(bufnum, in, 0.25, 1); chain ...

  5. BeatTrack2 Doc

    ... nd, beep; var fft; var feature1, feature2, feature3; in = PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum), 1, 0, 1); // in = SoundIn.ar(0); // Create some features fft = FFT(LocalBuf(1024), in); // for sampling rates 44100 and 48000 // fft = ...

  6. Intro-FOA-Examples Doc

    ... -------------------- // test sig sig = PlayBuf.ar(~sndbuf.numChannels, ~sndbuf, BufRateScale.kr(~sndbuf), doneAction:2); // soundfile // ------------------------------------------------------------ // decode (via ~renderDecode) ~renderDecod ...

  7. Buffer_Granulation Doc

    ... Dur * posDif; trig = Impulse.kr(trigRate); pos = posLo * bufDur + (Phasor.ar(0, BufRateScale.kr(bufNum) * posRate / SampleRate.ir, posLo * bufDur, posHi * bufDur) + (TRand.kr(-0.5 * posDev, 0.5 * posDev, trig) * bufDur)).mod(bufDurSection); ...

  8. PV_RecordBuf Doc

    ... r(1, 1, BufDur.kr(soundBufnum), doneAction: 2); in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 0); // note the window type and overlaps... this is important for resynth parameters chain = FFT(bufnum, in, 0.25, 1); chain ...

  9. DXEnvFan Doc

    ... ght triggering set zeroThr zeroThr: 0.002 ); sig = PlayBuf.ar( 1, b, [1, 1.1] * BufRateScale.kr(b), env, Demand.ar( env, 0, Dstutter( 5, Dwhite(0.1, 0.9) ) * BufFrames.ir(b) ) ) * 1.2 * env; // do a bit correlation Splay.ar(sig, 0.8) }.play ...

  10. PV_PlayBuf Doc

    ... r(1, 1, BufDur.kr(soundBufnum), doneAction: 2); in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 0); bufnum = LocalBuf.new(1024, 1); // uses frame size from above // note the window type and overlaps... this is important ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow