L
L
lightalex2015-02-04 02:47:34
JavaScript
lightalex, 2015-02-04 02:47:34

How to parse an audio track using javascript?

Hello!
There is a plugin - codepen.io/ma77os/full/spekH
It works only in Chrome
Namely, only in Chrome, because the line analyzer.getByteFrequencyData(analyserDataArray); only in Chrome it returns some values
​​In other browsers, only an empty array is returned
This line is used to analyze the track
And if there is no analysis, then the plugin does not work
Who knows how to fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2015-02-04
@Taraflex

www.schillmania.com/projects/soundmanager2
Can be cross-browser via flash

A
Alexey, 2015-02-04
@rdifb0

Are you sure that getByteFrequencyData is the problem? In my Firefox, the file in the example simply does not play. Maybe he lacks content-type-a, or something with cross-origin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question