Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (783) Code (80) Doc (245) Help (61) Quark (379) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. oneshot renderer by lfsaw (LFSaw) Code

    ... ath: nil, outputFilePath: dirname +/+ filename, // inputFilePath: nil, sampleRate: sRate, headerFormat: "AIFF", sampleFormat: format, options: ServerOptions().numOutputBusChannels_(q.numChans), duration: dur.postln, ) ...

  2. Middle Children of History MUSC115 Final by ianmcdougall60 (ianmcdougall60) Code

    ... , gate, doneAction:2); OffsetOut.ar(out, snd * amp); }).add; SynthDef("sampler", {arg rate = 1, amp = 1, buffer, startPos = 0, attack = 0.02, release = 0.5, panning = 0; var snd, env; env = Env.perc(attackTime: attack, re ...

  3. Sound file position selector GUI by 0-2U (grirgz) Code

    ... normalized: %".format( cur++(cur[0]+cur[1]), cur++(cur[0]+cur[1]) / s.sampleRate, cur++(cur[0]+cur[1]) / sf.numFrames, ).postln; }; sfview.mouseUpAction = { arg a; post_position.(); }; sfview.keyDownAc ...

  4. Star Trek transporter by dsastre (DSastre) Code

    ... orter, reverb, activateEnv, percEnv, activate, buffer; buffer = LocalBuf(SampleRate.ir * 0.12); // feedback has to be 0 at the beginning, to avoid input // nil before sound has been produced feedback = 0; // Activ ...

  5. 303 emulation by chriskiefer (chriskiefer) Code

    ... loor, barLengthInBeats * reso); var clockPos = Phasor.ar(imp, clockFreqFull / SampleRate.ir, 0, 1, 0); var barCounter = PulseCount.ar(imp); Out.ar(30, barCounter); Out.ar(31, imp); Out.ar(32, clockPos); Out.ar(33, impSubDivs); } ...

  6. wobble bass by 0-2U (grirgz) Code

    ... r(~bus, 2); var sig; var sig1,sig2,sig3,sig4,sig5; var buf = LocalBuf(2*s.sampleRate, 2); var rate; var choosetrig; sig = in; sig1 = RLPF.ar(sig, ffreq, rq); choosetrig = choose > 0; RecordBuf.ar(sig1, buf, loop:1, tri ...

  7. Band-limited hard sync oscillator by nathanielvirgo (nathanielvirgo) Code

    ... Delay = 1/minFreq; var n = floor(maxRatio); var b = LocalBuf(Server.default.sampleRate*maxDelay ,1).clear; var baseWaveform = Saw.ar(syncFreq); var sig = 0; n.do { arg i; var delay = i/sawFreq; var amplitude = (sawFreq/sy ...

  8. "basso gettato" sctweet autopsy by zepadovani (zepadovani) Code

    ... (0.1)}.plot(1) //A final note: 165 works well because it does not fit to the samplerate / block size values. For example, try to use the value (44100/64) – or any simple ratio of it – instead and you will have something a bit more monoto ...

  9. crude ringbuffer recording by lfsaw (LFSaw) Code

    ... Bufs = Buffer.allocConsecutive(q.ringInputChannels.size, s, q.ringBufLength * s.sampleRate, ); }; ) ( Ndef(\inRing).addSpec( \gain0, [0, 5], \gain1, [0, 5], \recEnable0, [0, 1, \lin, 1, 0], \recEnable1, [0, 1, \lin, 1, 0] ...

  10. SynthDEFaults - Patterns Examples by 0-cG (unknown) Code

    ... ceDir +/+ "sounds/a11wlk01.wav"); // remember to free the buffer later. Synth(\sampler_PlayBuf, [\buf, ~voice]) Synth(\sine_simple) Synth(\sine_vintage) Synth(\prophet5pwmstrings) //--//..//--//..//--//..//--//..//--//..//--//.. / ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow