Open laughinghan opened 13 years ago
+1 I wanted too to try out jsmad but gave up because I didn't found how to do it by (fast-)reading the html/js code.
+1 here too. I'm not really sure how to start...
The minimum I've found to make it work:
script type="text/javascript" src="src/jsmad.min.js"></script script type="text/javascript" src="audiolib.js/lib/audiolib.min.js"></script script> Mad.Player.fromURL( URL, function(player) { player.onPlay = function() { }; player.createDevice(); player.setPlaying(true); }); </script
It'd useful whether you want to use jsmad, or, like I do, want to cut to chase of how it works rather than going through
readFile
andMad.Player
. Actually I kinda gave up at that point. A walkthrough of the code would be nice too (like https://github.com/laughinghan/mathquill#readme, but not poorly written and out of date).