Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (318) Code (44) Doc (94) Help (47) Quark (130) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. BeatStatistics Doc

    ... n.ar; var source = PlayBuf.ar(1,b,loop:1); var analysis = BeatStatistics.kr(FFT(LocalBuf(1024),source)); analysis.poll(100); source }.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/SCMIRUGens/HelpSource/Cl ...

  2. DegreeToKey Help

    ... dorian scale play({ var mix; mix = // lead tone SinOsc .ar( ( DegreeToKey .kr( LocalBuf .newFrom(scale), MouseX .kr(0,15), // mouse indexes into scale 12, // 12 notes per octave 1, // mul = 1 72 // offset by 72 notes ) + LFNoise1 .kr([3,3] ...

  3. PV_Div Help

    ... 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 v ...

  4. Doppler Pitch Shift by 0-f6 (kennethflak) Code

    ... laywindow=0.1; hanning = Signal.hanningWindow(512).asWavetable; buf = LocalBuf.newFrom(hanning); phasorfreq = ((\ratio.kr(1) - 1 ) * -1) / delaywindow; window = numDelays.collect{|i| phase = i.linlin(0, numDelay ...

  5. KMeansRT Doc

    ... oid, resynth; // sig = AudioIn.ar; sig = PlayBuf.ar(1, b, loop: 1); chain = FFT(LocalBuf(512), sig); chaintrig = chain > -0.001; features = [SpecCentroid.kr(chain)]; // just one 1D feature here classif = KMeansRT.kr(~kbuf, features, k, chai ...

  6. pvcalc Help

    ... , chain, v; in = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); chain = FFT ( LocalBuf (1024), in); chain = chain.pvcalc(1024, { |mags, phases| //////// Try uncommenting each of these lines in turn and re-running the synth: [mags * {1.5.r ...

  7. HilbertFIR Doc

    ... es more delay. s.boot; s.scope; a = { HilbertFIR.ar(SinOsc.ar(100) * -20.dbamp, LocalBuf(2048)) }.play; a.release; ⧉ ✔ Inherited class methods Instance Methods Inherited instance methods helpfile source: /usr/local/share/SuperCollider/HelpS ...

  8. SpecCentroid Doc

    ... MouseY.kr(1000, 100, 1); in = Blip.ar(freq, MouseX.kr(1, 100, 1)); chain = FFT(LocalBuf(2048), in); centroid = SpecCentroid.kr(chain); centroid.poll(10); in.dup * 0.1 }.play ) x.free; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Hel ...

  9. IFFT Help

    ... PV_Copy // example ( { var in, chain; in = WhiteNoise .ar(0.05); chain = FFT ( LocalBuf (2048), in); chain.inspect; // its an FFT Out .ar(0, IFFT (chain) // inverse FFT ); }.play ) See FFT for more examples.

  10. Shift register patch by davidmorgan (david_morgan) Code

    ... 387.html" */ ( ~shift_register = {arg length = 5, trig, in; var buf = LocalBuf(length); var count = PulseCount.kr(trig); Demand.kr(trig, 0, Dbufwr(in, buf, count)); Demand.kr(trig, 0, Dbufrd(buf, count + (1..length))).re ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow