saveAs

suspend fun saveAs(path: Path, fileFormat: AudioFileFormat = AudioFileFormat.Wav)

Saves the recording to a file in the specified format.

Parameters

path

The file path to save to

fileFormat

The audio file format (default: WAV)