The main API of playcanvas: this takes an HTML5 Canvas element and returns a player instance.
var title = document.getElementById('title');
var title_player = playcanvas(title);
Starts the canvas player.
Stops the player temporarily. player.play() will start where it left off.
Stops the player and rewinds it to 0.
Returns the number of notes available in the current style.