Continuously play a longer soundfile from disk. This requires a buffer to be preloaded with one buffer size of sound.
DiskIn cannot alter playback rate. See VDiskIn for a disk-streaming UGen with rate control.
numChannels |
Number of channels. This must match the number of channels in the buffer. Must be a nonzero, positive integer. This is fixed when the SynthDef is compiled so cannot be assigned to a SynthDef argument. |
bufnum |
Buffer number NOTE: The Buffer's numFrames must be a power of two and is recommended to be at least 65536 -- preferably 131072 or 262144. Smaller buffer sizes mean more frequent disk access, which can cause glitches. |
loop |
If set to 1, the soundfile will loop. NOTE: If the buffer has a larger number of frames than the sound file there will be a noticeable gap between the first and the following loop iterations. In that case chose a smaller buffer size or use PlayBuf instead |
This UGen will set the 'done' flag when finished playing.