Plays and loops between two frames of a sample resident in memory.
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.
WARNING: if you supply a bufnum of a buffer that has a different numChannels then you have specified to the LoopBuf, it will fail silently.
the index of the buffer to use
- 1.0 is normal, 2.0 is one octave up, 0.5 is one octave down. -1.0 is backwards normal rate ... etc.
positive gate starts playback from startPos. negative gate plays rest of sample from current position
sample frame to start playback
sample frame of start of loop
sample frame of end of loop
1 means no interpolation, 2 is linear, 4 is cubic interpolation