klyn.audio.WaveReader.seek
method
public seek(frame as Long) as Void
Description

Positions the next read at an exact PCM frame, including EOF.

Parameters
ParameterDescription
frameZero-based frame in [0, frames].
Throws
  • IndexException outside the file's frame range.
  • IOException if closed or seeking fails.
Example

reader.seek(24000l)