Closed kookster closed 10 years ago
Layer II is not supported. Maybe your file is really layer 3, just with an mp2 extension for some reason? Check the file info in VLC or QuickTime player or somewhere else that shows the layer info. If you want Layer II support, you should use mp3.js which supports all three layers, and is generally improved from jsmad.
thanks @devongovett - it was an mp2, but I was using this demo page:
http://audiocogs.org/codecs/mp3/
...which mentions jsmad and implies that is what it is using, but is actually using mp3.js, so that makes sense!
the readme indicates that only MPEG-1 Layer III is supported, but when I tried an mp2 ( MPEG-1 Layer II - http://en.wikipedia.org/wiki/MPEG-1_Audio_Layer_II) in the demo, it worked just fine. Is this an accident, or did someone make a fix to enable Layer II?