2 summary:: Buffer sample rate.
3 related:: Classes/BufChannels, Classes/BufDur, Classes/BufFrames, Classes/BufRateScale, Classes/BufSamples
4 categories:: UGens>Buffer>Info
8 Returns the buffer's current sample rate.
18 the buffer's current sample rate.
22 The code::.ir:: method is not the safest choice.
23 Since a buffer can be reallocated at any time, using
24 code::.ir:: will not track the changes.
30 b = Buffer.read(s, Help.dir +/+ "sounds/a11wlk01.wav");
32 // compares a 1102.5 Hz sine tone (11025 * 0.1, left) with a 1100 Hz tone (right)
33 // the apollo sample has a sample rate of 11.025 kHz
37 freq = [ BufSampleRate.kr(b) * 0.1, 1100];
38 SinOsc.ar(freq, 0, 0.1)