wavread

1.0.0 • Public • Published

wavread lib

wavread is a tiny-lib for Node.js that reads binary data of Waveform Audio File Format (WAVE) (.wav extension) file and gives base information of it. Note: Lib won't retrieve all information stored in wav

Usage via CLI

  1. npm install wavread
  2. node wavread --source=C:/Users/Rita/Desktop/barebear.wav

Usage as a Library

  1. npm install wavread
  const wavread = require('wavread')
  wavread('C:/Users/Rita/Desktop/barebear.wav', info => {
    info.specification // 'RIFF'
    info.byteRate // [176.4, 'Kbit/s']
    info.bitsPerSample // [16, 'bits']
    info.duration // [27768.3, 'ms']
    // etc..
  })

Readme

Keywords

Package Sidebar

Install

npm i wavread

Weekly Downloads

37

Version

1.0.0

License

MIT

Unpacked Size

7.55 kB

Total Files

3

Last publish

Collaborators

  • hypotenuse-packs