How to use jsmad?

jsmad is the new JavaScript-based MP3 decoder ( GitHub , demo ), but it seems to have no documentation at all. I can't figure out what most of the demo does, and the actual JavaScript seems to be miniature.

Can someone write some documentation for someone who just wants to play MP3 audio, please? It seems that several people refuse due to lack of documentation .

+4
source share
1 answer

I sent an email to Amos Wenger, one of the jsmad developers, who said the following:

Hello!

Yes, we are very aware of the lack of documentation. There are two reasons for this:

Firstly, the bad news: jsmad only makes MP3 β†’ raw audio, while people expect much more complete software (similar to HTML5 audio, which performs HTTP streaming, buffering, decoding, audio recording, user interface controls, events, etc.) d.). As I mentioned in my jsmad slides on jsconf.eu, we need to put together several other components before we have a real competitor for playing Flash-based audio on your website. So, by the way, the lack of documents is due to the fact that we do not want end users to start deploying it on their website! He is not ready for prime time.

In the group ofmlabs (Official.fm R & D), among other things, we had many internal projects, and they only recently were able to refocus on open source. So the good news: we will have more time to spend on things like jsmad, and will probably work on missing parts (buffering, proper demultiplexing - perhaps through aurora.js, etc.)

As for the β€œdocuments”, there are few in my slides (mentioned above) and well mhd.js is not minimized, so you can always take a look at http://jsmad.org/mhd.js ;)

Cheers, Amos

So it seems that jsmad is not for public use yet, but we can count on further support in the future. :)

+2
source

All Articles