Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (178) Code (26) Doc (55) Help (20) Quark (71) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    ... the common questions on the list is about handling very large sound files with BufRd. BufRd indexes into the buffer using a single-precision float, which supports buffers only up to 2**24 frames (a bit more than six minutes at 44.1 kHz). ...

  2. Re: SCTweets by makary-kleinschmidt (rumush) Code

    ... ordpress.com/ (// Original – Inspiration play{ b=LocalBuf(1e5,2).clear; x=BufRd.ar(2,b,Phasor.ar(0,1,0,1e5))*0.6; BufWr.ar(Blip.ar([1,1.01],10)/5+x,b,LFNoise1.ar(0.2)+1*5e4); x } ) (// Glitch Pitch play{ var env = XLine.ar(0. ...

  3. Buffers & LFNoise1 by brkncd (BROKENCODE//) Code

    a simple BufRd with the starting point of lecture randomized by LFNoise1 // you have to write the sample path in the firts line ~bufferdue = Buffer.read(s," WRITE YOUR SAMPLE PATH HERE ", bufnum:2); ( SynthDef.new(\bufbeat, { arg a ...

  4. Beat slicer by voicekvuicek (Brusli) Code

    ... * slice, (pos * slice) + (slice * len), ~dur * len, doneAction: 2); dry = BufRd.ar(2,buff,rd); // time stretch rd1 = LFSaw.ar(1000 / g_size, 1, 0.5, 0.5); hann1 = (rd1 * pi).sin; pos1 = Latch.ar(Line.ar(pos * slice, (pos * ...

  5. more fun with patternproxies, feat. a hack to access internals of the EventStreamPlayer by alln4tural (alln4tural) Code

    ... ldwide-razzledazzle) // switching to mono cz SinedPink.aiff is boring // two BufRd-based synths, one percussive, one smoother: ( SynthDef(\bufRdperc1, {| out = 0, bufnum = 0, rate=1, inter=2, posfrac = 0.5, dur = 1, amp = 0.9| var wi ...

  6. Looping sampler with crossfading by coreyker (coreyker) Code

    ... rigLoop, rate, loopEnd - fadeFrames, inf, loopEnd - fadeFrames); var srcA = BufRd.ar(buf.numChannels, buf, phaseA); var srcB = BufRd.ar(buf.numChannels, buf, phaseB); var startLoop = SetResetFF.ar(trigLoop); var loopPan = Phasor ...

  7. Lost Among the Atoms - First Composition - Glitch/Ambient by makary-kleinschmidt (rumush) Code

    ... Dxrand([0, 2e5*0.25, 2e5*0.4, 2e5*0.75], inf)); var src1 = BufRd.ar(2, buf1, Phasor.ar(trig[0], 1, 0, 4e5, pos))*0.5; var src2 = PinkNoise.ar(Decay.ar(trig[0]!2, 0.1, 250)).fold(-0.5, 0.5);// Some n ...

  8. Glitch Routine - Basis for 'Lost Among the Atoms' SuperCollider EP by makary-kleinschmidt (rumush) Code

    ... d.ar(trig[2], 0, Dxrand([0, 2e5*0.25, 2e5*0.4, 2e5*0.75], inf)); var src1 = BufRd.ar(2, buf1, Phasor.ar(trig[0], 1, 0, 4e5, pos))*0.5; var src2 = PinkNoise.ar(Decay.ar(trig[0]!2, 0.1, 250)).fold(-0.5, 0.5); var src3 = BufRd.ar(2 ...

  9. Space-Jump with a trombone by helenabarcelona (helena barcelona) Code

    ... ar(freq2, 1); var ctrl = LFSaw.ar(0.05, 1); sr = SampleRate.ir; source = (BufRd.ar(1, b, noiseCtrl.range(0, 4*sr);, 1, 4)*30).tanh; source = source + (BufRd.ar(1, b, ctrl.range(0, 4*sr);, 1, 4)*30).tanh; source = Mix.new(PitchShif ...

  10. crude ringbuffer recording by lfsaw (LFSaw) Code

    ... BufWr.ar( inputArray: Mix([ input * recLevel * recEnable * gain, BufRd.ar(1, buf, wrPhasor, 1) * ((recEnable * preLevel) + (1- recEnable)) ]), bufnum: q.ringBufs[i], phase: wrPhasor, loop: 1 ); // playba ...

1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow