1.0.0 • Published 5 years ago

wavread v1.0.0

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

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 npm.io

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..
  })
1.0.0

5 years ago