0.2.0 • Published 8 years ago

audio-encode-wav v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Audio encode-wav Build Status Gitter

Encode an Audio object into a WAV buffer.

Turn an Audio object into a WAV-encoded buffer.

var encodeWav = require('audio-encode-wav');

var foo = new Audio({ length: 300000 });
// Write to audio somehow...

var wav = encodeWav(foo);
fs.writeFileSync('./somefile.wav', wav);

Installation

$ npm install --save audio-encode-wav

API

encode(audio)

  • audio (Audio): The audio data to encode to WAV format.

Returns a Buffer encoded with WAV data.

Credits

jamen
Jamen Marzonie

License

MIT © Jamen Marzonie

0.2.0

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago