A thin wrapper around the Web Audio API that takes an <audio> element and gives you its waveform/frequency data in return.
Want to see pretty graphs? Log in now!
npm install web-audio-analyser
|4||downloads in the last week|
|7||downloads in the last month|
|Last Published By|
|Version||0.0.0 last updated 7 months ago|
|Keywords||audio, web, api, browserify, analysis, fft, waveform, reactive|
A thin wrapper around the Web Audio API that takes an
<audio> element and
gives you its waveform/frequency data in return.
analyser = require('web-audio-analyser')(audio[, ctx])
<audio> element as its first argument - optionally, you can pass
AudioContext instance too.
Copies the audio's current time-domain data into a
Uint8Array. If you don't
pass your own in, one will be created for you: this will be reused, so it's
safe to call in an animation loop.
analyser.waveform, with the exception of copying the audio's
currrent frequency data into a