klyn.audio.WaveReader.WaveReader
constructor
public WaveReader(notnull path as FilePath)
Description

Opens a WAV and scans its layout without decoding or reading its payload.

Parameters
ParameterDescription
pathReadable regular WAV file, used under the caller's file rights.
Throws
  • IOException for invalid/truncated files or an opening failure.
  • NotSupportedException for an unsupported WAV encoding.
Example

reader = WaveReader(FilePath("music.wav"))