Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaScript Audio Spectrum Analyzer

Is there a JavaScript equivalent to ActionScript's channel.leftPeak or channel.rightPeak. This is used for sound programming such as for a VU meter. I am trying to build a sound application, but I was avoiding using Flash and ActionScript since it is for a website. I was wondering if it was possible to do it in JavaScript. The basic concept is just play a song and be able to see the visualization of it through the spectrum analyzer or VU Meter.

like image 490
lomas09 Avatar asked Jun 14 '12 20:06

lomas09


1 Answers

What you need, based on your question, is JavaScript SoundManager2 plugin.

The demo page for the Spectrum Analyzer / VU Meter visuals are HERE

Screenshot: enter image description here



Edit: Also consider wavesurfer.js featuring "Seekable waveform using WebAudio and Canvas".

like image 112
arttronics Avatar answered Nov 14 '22 18:11

arttronics