jquery - Get Relative Loudness of Song, Javascript -
jquery - Get Relative Loudness of Song, Javascript -
i'm trying build mp3 player site using javascript (and plugins/frameworks(jquery)/libraries relevant) & html5. built player (more accurately, implemented jplayer), and want create visualizer.
ok maybe it's not visualizer (all names ways visualize sound confused me), guess want this:
or graphs amplitude (loudness) of mp3.
so start, know api can this?
if don't that's ok; guess i'll build own. need know:
does know way amplitude/loudness of mp3 @ given point using javascript?
editchanged question php: visualization of mp3 - php
you need able decode mp3 yourself. html5 sound element, , browsers's implementations of it, don't expose sort of data. example, @ firefox's exposed methods javascript. closest thing want "volumechange" event. in reference volume mixer on browser's rendered command (i.e. output volume). has nil actual db of sound source.
i imagine feasible way render waveform graphic ahead of time, , "reveal" song plays (e.g. "timeupdate" event).
javascript jquery html html5 mp3
Comments
Post a Comment