Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (154) Code (31) Doc (30) Help (10) Quark (82) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Phasor Help

    Phasor a resettable linear ramp between two levels superclass: UGen Phasor is a linear ramp between start and end values. When its trigger input crosses from non-positive to positive, Phasor's output will jump to its reset position. Upon re ...

  2. BufRd Help

    ... Saw .ar( BufDur .ir(0).reciprocal).range(0, BufFrames .ir(0)) ) }.play; //use a phasor index into the file { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufFrames .kr(0))) }.play; //change rate and interpolation ( x = { arg rate=1 ...

  3. BufFrames Help

    ... mple s.sendMsg( "/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 ...

  4. BufSamples Help

    ... ames s.sendMsg( "/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, BufSampl ...

  5. BufWr Help

    ... ; var in; in = SinOsc .ar( LFNoise1 .kr(2, 300, 400), 0, 0.1); BufWr .ar(in, 0, Phasor .ar(0, BufRateScale .kr(0) * rate, 0, BufFrames .kr(0))); 0.0 //quiet }.play; ) //read it with a BufRd ( x = { arg rate=1; BufRd .ar(1, 0, Phasor .ar(0, ...

  6. BufRateScale Help

    ... /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; )

  7. Tap Help

    ... n .ar(0); //use headphones to avoid feedback capture= BufWr .ar(source, bufnum, Phasor .ar(0,1, 0, BufFrames .ir(bufnum),1)); Out .ar(0, Tap .ar(bufnum, 1, [0.1,0.9])); //multichannel expansion, so one tap each ear }).send(s); ) x= Synth ( ...

  8. UGens Help

    ... Gate CoinGate Peak PulseDivider LastValue Latch Trig Trig1 SendTrig Sweep Timer Phasor Frequency Domain FFT Convolution PV_ConformalMap Buffer Manipulation BufRd BufWr DiskIn DiskOut Index WrapIndex PlayBuf RecordBuf PingPong TGrains Binary ...

  9. Pproto Help

    ... num); startPos = startPos * BufFrames .kr(bufnum); audio = BufRd .ar(1, bufnum, Phasor .ar(0, rate, startPos, BufFrames .ir(bufnum)), 1, 1); audio = EnvGen .ar( Env .sine, 1, timeScale: sustain, doneAction: 2) * audio; audio = Pan2 .ar(audi ...

  10. PG_Cookbook05_Using_Samples Help

    ... ill use PlayBuf , which doesn't allow looping over a specific region. For that, Phasor and BufRd are probably the best choice. (Third-party extension alert: LoopBuf by Lance Putnam is an alternative - click to download [osx]: http://www.uwe ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow