Package org.jetbrains.kotlinx.dl.dataset.audio.wav

Types

WavFile
Link copied to clipboard
class WavFile(file: File, bufferSize: Int) : AutoCloseable

Class for reading WAV audio files. The file opened as WAV file can be read only once and the following reading procedures will result in reading empty buffer.

WavFileException
Link copied to clipboard
class WavFileException(message: String) : Exception

WavFile-specific exception class that represents error in reading WAV file caused by its format.

WavFileFormat
Link copied to clipboard
class WavFileFormat(buffer: ByteArray)

Wav file format representing the specification of the WAV file that is saved in its metadata header.