write_wav

Write a 16-bit PCM WAV file

Description

Minimal RIFF writer in base R.

Usage

write_wav(audio, path, sample_rate = 48000L)

Arguments

  • audio: Numeric matrix [channels, samples] in [-1, 1].
  • path: Output path.
  • sample_rate: Integer.

Value

Invisibly, the path.