Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (326) Code (49) Doc (105) Help (57) Quark (105) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. TestPattern6 Quark

    ( Alga.boot({ AlgaSynthDef(\test, { PlayBuf.ar(2, \buf.kr(0), BufRateScale.kr(\buf.kr), doneAction:2) }).add; b = Buffer.read(s, File.realpath(Alga.class.filenameSymbol).dirname.withTrailingSlash ++ "../Examples/Samples/kick.wav"); c = Buff ...

  2. Loudness Help

    ... nalyse loudness and poll result ( { var in, fft, loudness; in= PlayBuf .ar(1,d, BufRateScale .kr(d),1,0,1); fft = FFT (b, in); loudness= Loudness .kr(fft).poll(50); Out .ar(0, Pan2 .ar(in)); }.play ) //TESTS //sones = 2**((phon-40)/10) //si ...

  3. PV_BinPlayBuf Doc

    ... r(1, 1, BufDur.kr(soundBufnum), doneAction: 2); in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 0); // note the window type and overlaps... this is important for resynth parameters chain = FFT(bufnum, in, 0.25, 1); chain ...

  4. PV_MagNoise Help

    ... " , { arg out=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT(LocalBuf(2048) , in); chain = PV_MagNoise (chain); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , ...

  5. Concat Doc

    ... e=0; var concat, control, input; control= SoundIn.ar; input=PlayBuf.ar(1,bufnum,BufRateScale.kr(bufnum), loop:1); concat= Concat.ar(control,input,1.0,1.0,1.0,matchlength,freeze,0.0,1.0,0.0,0.0); Out.ar(0,Pan2.ar(concat,0.0))}).add; ) a=Synt ...

  6. BufSamples Help

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

  7. PV_BinScramble Help

    ... out=0, bufnum=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); chain = PV_BinScramble (chain, MouseX .kr , 0.1, MouseY .kr > 0.5 ); Out .ar(out, 0 ...

  8. PV_RandComb Help

    ... " , { arg out=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); chain = PV_RandComb (chain, MouseY .kr, Impulse .kr(0.4)); Out .ar(out, IFFT (chain ...

  9. 13-Buffers Doc

    ... ef("tutorial-PlayBuf",{ arg out = 0, bufnum; Out.ar( out, PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum)) ) }).play(s,[\bufnum, b]); ) x.free; b.free; ⧉ ✔ PlayBuf.ar has a number of arguments which allow you to control various aspects of how ...

  10. BufDur Doc

    ... f soundfile in buffer. Source: InfoUGens.sc See also: BufChannels , BufFrames , BufRateScale , BufSampleRate , BufSamples Description Get the current duration of soundfile. Class Methods BufDur. kr ( bufnum ) From superclass: BufInfoUGenBas ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow