Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (513) Code (102) Doc (171) Help (75) Quark (148) Plugin (17) SCDoc ↗ Forum ↗ Google ↗
  1. PlayBuf Help

    PlayBuf sample playback oscillator Inherits from: Object : AbstractFunction : UGen Plays back a sample resident in memory. PlayBuf.ar(numChannels, bufnum, rate, trigger, startPos, loop, doneAction) PlayBuf.kr(numChannels, bufnum, rate, trig ...

  2. FreeSelfWhenDone Help

    ... sing synth when a UGen is finished FreeSelfWhenDone.kr(src) Some UGens, such as PlayBuf, RecordBuf, Line, XLine, EnvGen, Linen, BufRd, BufWr and the Buffer delay UGens set a 'done' flag when they are finished playing. FreeSelfWhenDone will ...

  3. Buffers Help

    ... ich reads a sound file into memory, and returns a Buffer object. Using the UGen PlayBuf, we can play the file. // read a soundfile b = Buffer .read(s, "sounds/a11wlk01.wav" ); // now play it ( x = SynthDef ( "tutorial-PlayBuf" ,{ arg out = ...

  4. RecordBuf Help

    ... y it back ( SynthDef ( \help_RecordBuf_overdub , { arg out = 0, bufnum = 0; var playbuf; playbuf = PlayBuf .ar(1,bufnum); FreeSelfWhenDone .kr(playbuf); // frees the synth when the PlayBuf is finished Out .ar(out, playbuf); }).play(s, [ \ou ...

  5. exponentiation Help

    ... " , 0, "sounds/a11wlk01.wav" ); // load a soundfile // compression ( { var in = PlayBuf .ar(1, 0, 1, loop: 1); in ** 0.7 }.play; ) // expansion ( { var in = PlayBuf .ar(1, 0, 1, loop: 1); in ** 2 }.play; )

  6. PV_Add Help

    ... lp-add" , { arg out=0, soundBufnum; var inA, chainA, inB, chainB, chain ; inA = PlayBuf .ar(1, soundBufnum , BufRateScale .kr(soundBufnum), loop: 1); inB = PlayBuf .ar(1, soundBufnum , BufRateScale .kr(soundBufnum) * 0.5, loop: 1); chainA = ...

  7. 12_Playbuf Help

    ... ( "aMonoSamplePlayer" , { arg bus = 0, bufnum = 0, rateScale = 1; Out .ar( bus, PlayBuf .ar( 1, bufnum, BufRateScale .kr(bufnum) * rateScale ) * EnvGen .kr( Env .sine( BufDur .kr(bufnum))) ) }).load(s); ) ( // test the synthdef ... does it ...

  8. Tap Help

    ... of channels of the buffer delaytime - tap delay; cannot be modulated See also: PlayBuf (Tap uses the PlayBuf UGen internally). // Create a buffer. b= Buffer .alloc(s, s.sampleRate, 1); //enough space for one second of mono audio // Write t ...

  9. pvcalc2 Help

    ... 1.wav" ); } ) ( x = { var fftsize = 1024; var in, chain, in2, chain2, out; in = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); chain = FFT ( LocalBuf (fftsize), in); // in2 = PlayBuf .ar(1, e, BufRateScale .kr(e), loop: 1); // JMcC babbli ...

  10. PG_Cookbook05_Using_Samples Help

    ... overlay synthesized bells emphasizing the meter. It might be tempting to loop a PlayBuf so that the loop runs automatically on the server, but it can easily drift out of sync with the client (because of slight deviations in the actual sampl ...

1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow