Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1139) Code (82) Doc (462) Help (88) Quark (506) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. cheapPiano1 Quark

    ... var hammer, snd, delay, tonefreq, env; env = Env.perc(att, rel, amp * 4, -1).ar(doneAction: 2); // Delay line times: freq, freq - 4 cents, freq + 3 cents. In the original this was done by converting freq to midi. delay = (1 / (freq * [2.pow ...

  2. Pfuncn Doc

    ... q = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a, b, c; a = Pfuncn({ exprand(0.1, 2.0) + #[1, 2, 3, 6].choose }, 2); b = Pfunc ...

  3. FFTPeak Doc

    ... e. It outputs the frequency of that bin, and its magnitude. No interpolation is done on the values. This could be used as a primitive pitch detector, but in practice autocorrelation methods (as used in Pitch and Tartini ) give more reliable ...

  4. example sequencing soundfiles by fredrik-olofsson (Fredrik Olofsson) Code

    ... ynthDef(\sample, {|out= 0, buf, rate= 1| Out.ar(out, PlayBuf.ar(1, buf, rate, doneAction:2)!2); }).add; ) //test1 - single Synth(\sample, [\buf, b[0]]).register.onFree{"hello".postln};//should post when first soundfile done playin ...

  5. SynthDefsVsSynths Help

    ... e compiled and loaded into the Server without writing them to disk. This can be done while performing. The downside of this is that precompiled SynthDefs lack some of the programmatic flexibility that was one of SC2's great strengths. Much ...

  6. Plugins Doc

    ... SatieConfiguration: -hoa Higher-order Ambisonics decoders. The registration is done by means of loading the plugin code by SatiePlugins and its methods. The source code of SatieConfiguration: -loadPluginDir shows how this is done. The plug ...

  7. Unpack1FFT Help

    ... r the FFT chain fires - this is normally achieved using PackFFT but can also be done using Demand . chain is an FFT chain, bufsize is the size of the expected input FFT frames, binindex is the integer index of the bin you want to query, and ...

  8. How-to-Use-the-Interpreter Doc

    ... t Server. Watch the post window and server window for the result // once that's done execute this to make a sound { FSinOsc.ar(800, 0, 0.1) }.play; ⧉ ✔ (Press and hold Cmd (the Apple key) and then press period to stop the sound started abov ...

  9. gabber by snappizz (snappizz) Code

    ... + hi; snd = (snd * 60.dbamp).tanh; snd = snd * Env.asr(0, 1, 0.01).kr(Done.freeSelf, \gate.kr(1)); Out.ar(\out.kr(0), snd * \amp.kr(0.1)); }).add; ) ( Pbind(*[ instrument: \gabberkick, amp: -20.dbamp, leg ...

  10. How-to-Use-the-Interpreter Help

    ... t Server. Watch the post window and server window for the result // once that's done execute this to make a sound { FSinOsc .ar(800, 0, 0.1) }.play; (Press and hold Cmd (the Apple key) and then press period to stop the sound started above.) ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow