This class uses PlayBuf to play back parts of a buffer. With overlap
one can set the number of voices. It uses the same interface as RedDiskInSampler and RedSampler.
Attach a soundfile to a key (number or symbol) and create buffers - one for each overlapping voice. This method is also has the alias preload
for backward compatibility.
key |
A number or a symbol. |
buffer |
A Buffer instance. |
startFrame |
In samples. |
numFrames |
How much of the file to load in samples. Leave as |