Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    BufRd buffer reading oscillator read the content of a buffer at an index. see also BufWr BufRd.ar(numChannels, bufnum, phase, loop, interpolation) numChannels number of channels that the buffer will be. this must be a fixed integer. The arc ...

  2. BufWr Help

    BufWr buffer writing oscillator write to a buffer at an index see also BufRd BufWr.ar(input, bufnum, phase, loop) input input ugens (channelArray) bufnum the index of the buffer to use phase modulatable index into the buffer (has to be audi ...

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

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

  5. 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))) ...

  6. BufSamples Help

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

  7. BufDur Help

    ... e changes. // example s.sendMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); { BufRd .ar(1, 0, Sweep .ar( Impulse .ar( BufDur .kr(0).reciprocal), BufSampleRate .kr(0))) }.play;

  8. BufRateScale Help

    ... ple s.sendMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); ( x = { arg rate=1; BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0) * rate, 0, BufFrames .kr(0))) }.play; )

  9. Done Help

    ... one.kr(src) Some UGens, such as PlayBuf, RecordBuf, Line, XLine, EnvGen, Linen, BufRd, BufWr, DbufRd, and the Buffer delay UGens set a 'done' flag when they are finished playing. This UGen echoes that flag when it is set to track a particul ...

  10. Stepper Help

    ... /////////////////////////////////////////////////////// // // Using Stepper and BufRd for sequencing // s.boot; s.sendMsg( \b_alloc , 10, 128); m = #[0,3,5,7,10]; a = ({rrand(0,15)}.dup(16).degreeToKey(m) + 36).midicps; s.performList( \send ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow