wav-arraybuffer
v0.1.0
Published
Create WAV from PCM audio data
Downloads
3
Readme
WAV(data[, options])
data
<ArrayBuffer> | <Buffer> PCM audio dataoptions
<Object> optional, format settings
options
properties are:
- sampleRate: set audio sample rate (default is
44100
) - bitDepth: set audio bit depth (default is
32
) - channels: set channel count (
1
=mono,2
=stereo, default is2
)
Convert raw PCM audio data to WAV audio buffer, returns ArrayBuffer
.