2 summary:: Current number of frames allocated in the buffer.
3 related:: Classes/BufChannels, Classes/BufDur, Classes/BufRateScale, Classes/BufSampleRate, Classes/BufSamples
4 categories:: UGens>Buffer>Info
7 Get the current number of allocated frames.
16 returns:: the current number of allocated frames.
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.
29 b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav");
31 // indexing with a phasor
32 { BufRd.ar(1, b, Phasor.ar(0, BufRateScale.kr(b), 0, BufFrames.kr(b))) }.play;
35 { BufRd.ar(1, b, K2A.ar(MouseX.kr(0, BufFrames.kr(b)))) }.play;