Returns the current duration of the buffer at the provided index.
===Examples===
// duration of local buffer
play {
val buf = LocalBuf(SampleRate.ir * 1.5, 2)
BufDur.ir(buf).poll(0) // reports 1.5
}
- See also
- Companion
- class
Returns the current duration of the buffer at the provided index.
===Examples===
// duration of local buffer
play {
val buf = LocalBuf(SampleRate.ir * 1.5, 2)
BufDur.ir(buf).poll(0) // reports 1.5
}