Read the content of a buffer at an index.
In comparison to PlayBuf : PlayBuf plays through the buffer by itself, BufRd only moves its read point by the phase input and therefore has no pitch input. BufRd has variable interpolation.
numChannels |
Number of channels that the buffer will be. This must be a fixed integer. The architecture of the SynthDef cannot change after it is compiled. NOTE: If you supply a bufnum of a buffer that has a different numChannels than you have specified to the BufRd, it will post a warning and output the channels it can. |
bufnum |
The index of the buffer to use. |
phase |
Audio rate modulateable index into the buffer. WARNING: The phase argument only offers precision for addressing 2**24 samples (about 6.3 minutes at 44100Hz). |
loop |
1 means true, 0 means false. This is modulateable. |
interpolation |
1 means no interpolation, 2 is linear, 4 is cubic interpolation. (The numbers one, two, and four correspond to the number of consecutive samples needed to compute each type of interpolation.) Any other values for this argument will silently default to no interpolation. |