Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (178) Code (26) Doc (55) Help (20) Quark (71) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Phasor Help

    ... alue is never actually output. Phasor is commonly used as an index control with BufRd and BufWr . *ar(trig, rate, start, end, resetPos) *kr(trig, rate, start, end, resetPos) trig when triggered, reset value to resetPos (default: 0, Phasor o ...

  2. Sweep Help

    ... nds/a11wlk01.wav" ); ( { var trig; trig = Impulse .kr( MouseX .kr(0.5, 10, 1)); BufRd .ar(1, 0, Sweep .ar(trig, BufSampleRate .ir(0))) }.play; ) // backwards, variable offset ( { var trig, pos, rate; trig = Impulse .kr( MouseX .kr(0.5, 10, ...

  3. BufFrames Help

    ... ndMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); // indexing with a phasor { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufFrames .kr(0))) }.play; // indexing by hand { BufRd .ar(1, 0, K2A .ar( MouseX .kr(0, BufFrames .kr(0))) ...

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

  5. bufRd.pxpreset Quark

    /* ///// These are the settings for NdefPreset('bufRd'): ///// you can edit the textfile, e.g. choosing better preset names, ///// tuning parameter values, or deleting unwanted presets. ///// When done, save the textfile where it is, and // ...

  6. StepPanner Quark

    ... close doors) \ minDur = openLength + closeLength + dur;\ //minDur.poll;\ open = BufRd .ar(\ 1,\ openBufnum, \ EnvGen .ar( Env ([0, BufFrames .ir(openBufnum), 0], [openLength, 0]), gate: Impulse .ar(0)), \ 0, // no loop \ inter\ );\ \ steps ...

  7. 5_Adding_soundfiles Quark

    ... ay; // Currently the sound processes that use buffers are: Ndef(\granbuf) Ndef(\bufRd) // You can switch the buffers to use in an Ndef like this: // arguments are: which ndefs should use them, and name the buffers to use: MFdef(\bufSetRange ...

  8. 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 * ...

  9. SplineOsc Quark

    ... Line.kr(0.0,divisions-1,this.duration * timeScale,doneAction:doneAction); }); ^BufRd.kr(1,b,index,loop.binaryValue,4) } readKr { arg position,timeScale=1.0,divisions=512; // position is in X units (seconds) // if timeScale is tempo then x ...

  10. RedLive Quark

    ... /BufSampleRate.kr(buffer) BufWr.ar(in, buffer, Gate.ar(phasor, stepper<1), 1); ^BufRd.ar(buffer.numChannels, buffer, phasor, 1, interpol); } *kr {|buffer, in, trigger, repeats= 3, interpol= 1| //1=no, 2=linear, 4=cubic var stepper, phasor; ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow