AudioFileReader

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

Reads an audio file from disk and returns an AudioRecording.

The file format is detected from the file extension (WAV, AIFF, AU/SND).

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.