Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (318) Code (44) Doc (94) Help (47) Quark (130) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. (mono) looper on Ndef basis by lfsaw (LFSaw) Code

    ... r one track, mono. var in = Ndef(\input).ar; // your input var buffer = LocalBuf.newFrom(0!q.numFrames); // stores loop var recEnable = \recEnable.kr(0).lag2(0.01); var recLevel = \recLevel .kr(0).dbamp; var preLevel = \p ...

  2. Unpack1FFT Help

    ... hain, unp; sig = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); chain = FFT ( LocalBuf (fftsize), sig); unp = Unpack1FFT (chain, b.numFrames, 0, 0); // Demand some data from the unpacker Demand .kr(chain>=0, 0, unp).poll(chain>=0, "unpack ...

  3. OnsetStatistics Doc

    ... = PlayBuf.ar(1,b,loop:1); var onsetanalysis = OnsetStatistics.kr(Onsets.kr(FFT(LocalBuf(512),source),0.125),2.0); onsetanalysis.poll(10); source }.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/SCMIRUGens ...

  4. BeatListenNode Quark

    ... / these are all two channel now #trackb,trackh,trackq,tempo=BeatTrack.kr( FFT( {LocalBuf.new(1024,1)}.dup(nc), source)).flop; nc.do{ |i| SendTrig.kr( Impulse.kr( trate ), 0, tempo ); SendTrig.kr( trackb[i], 1 + (i*4), trackb[i] ); SendTrig. ...

  5. that Quark

    ... old: \freqThreshold.kr(0.93) ); defaultTrigger = Onsets.kr( chain: FFT( buffer: LocalBuf(256), in: in ), threshold: \threshold.kr(0.2), odftype: \wphase, relaxtime: \relaxtime.kr(0.02), floor: \floor.kr(0.01), mingap: \mingap.kr(12), median ...

  6. FoldIndex Doc

    ... hods Inherited instance methods Examples // indexing into a table ( { var buf = LocalBuf.newFrom([200, 300, 400, 500, 600, 800]); var freq = FoldIndex.kr(buf, MouseX.kr(0, BufFrames.ir(buf) * 3)); SinOsc.ar(freq) * 0.1 }.play; ) // the same ...

  7. FFTTrigger Doc

    ... dup(100); // Let's ignore phase for now phases = 0.dup(100); chain = FFTTrigger(LocalBuf(512), 0.5); // Now we can do the packing chain = PackFFT(chain, 512, [mags, phases].flop.flatten, 0, 99, 1); sig = IFFT(chain); sig.dup }.play ) x.free ...

  8. WrapIndex Doc

    ... hods Inherited instance methods Examples // indexing into a table ( { var buf = LocalBuf.newFrom([200, 300, 400, 500, 600, 800]); var freq = WrapIndex.kr(buf, MouseX.kr(0, BufFrames.ir(buf) * 3)); SinOsc.ar(freq) * 0.1 }.play; ) // the same ...

  9. PV_JensenAndersen Doc

    ... fftod, { |out| var source1, detect, chain; source1 = SoundIn.ar(0); chain = FFT(LocalBuf(2048), source1); detect = PV_JensenAndersen.ar(chain, threshold: MouseX.kr(0.1, 1.0)); Out.ar(out, SinOsc.ar([440, 445], 0, Decay.ar(0.1 * detect, 0.1) ...

  10. PV_Div Doc

    ... n = Impulse.ar; var out = LPF.ar(son, MouseX.kr(100, 10000, 1)); var fft1 = FFT(LocalBuf(b.numFrames), son, wintype: 1); var fft2 = FFT(b, out, wintype: 1); // As with most PV_ ugens, the result is *actually* stored in the first fft buf var ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow