Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

Have a Usage in the Readme #7

Open
laughinghan opened this issue Jun 17, 2011 · 3 comments
Open

Have a Usage in the Readme #7

laughinghan opened this issue Jun 17, 2011 · 3 comments

Comments

@laughinghan
Copy link

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 and Mad.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).

@solsticedhiver
Copy link

+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.

@shamess
Copy link

shamess commented Oct 24, 2011

+1 here too. I'm not really sure how to start...

@neuroscr
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants