AudioFileReader

class AudioFileReader(path: Path, fileSystem: FileSystem = SystemFileSystem)

Reads an audio file from disk and returns an AudioRecording.

Format is resolved via magic-byte sniffing with extension fallback (see resolveCodec).

Parameters

path

The file path to read from.

fileSystem

The file system to use (default: SystemFileSystem).

Constructors

Link copied to clipboard
constructor(path: Path, fileSystem: FileSystem = SystemFileSystem)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Reads the audio file and returns an AudioRecording.

Link copied to clipboard