-
( 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 ...
-
... 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 ...
-
... 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 ...
-
... " , { 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 , ...
-
... 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 ...
-
... 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;
-
... 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 ...
-
... " , { 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 ...
-
... 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 ...
-
... 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 ...