wav-arraybuffer

0.1.0 • Public • Published

WAV(data[, options])

  • data <ArrayBuffer> | <Buffer> PCM audio data
  • options <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 is 2)

Convert raw PCM audio data to WAV audio buffer, returns ArrayBuffer.

Readme

Keywords

Package Sidebar

Install

npm i wav-arraybuffer

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • iddqd