0.0.1 • Published 10 years ago

soundcloud-waveform-parser v0.0.1

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

soundcloud-waveform-parser

Build Status npm install

parse soundcloud waveform PNGs into waveform.js compatible data.

usage

var fs = require('fs')

var parser = require('soundcloud-waveform-parser')

fs.readFile('soundcloud-waveform.png', parseWaveform)

function parseWaveform(err, data) {
  parser(data, displayResults)
}

function displayResults(err, data) {
  console.log(data) // ta-da!
}

license

MIT