2 summary:: Current duration of soundfile in buffer.
3 related:: Classes/BufChannels, Classes/BufFrames, Classes/BufRateScale, Classes/BufSampleRate, Classes/BufSamples
4 categories:: UGens>Buffer>Info
7 Get the current duration of soundfile.
16 returns:: the current duration.
20 The code::.ir:: method is not the safest choice.
21 Since a buffer can be reallocated at any time, using
22 code::.ir:: will not track the changes.
28 b = Buffer.read(s, Help.dir +/+ "sounds/a11wlk01.wav");
30 { BufRd.ar(1, b, Sweep.ar(Impulse.ar(BufDur.kr(b).reciprocal), BufSampleRate.kr(b))) }.play;