Basic Music Theory
Clefs
All three clefs are showing middle C.
Key Signatures - Major Keys
One hint about key signatures with sharps. If you read the final sharp in the key signature, the actual key is one above it. For example, in D Major, the two sharps are on F and C. One note above C is D. The pattern fits for E, G, A and B Major as well.
Using ABC Notation
Useful Links
http://code.google.com/p/abcjs/
http://abcnotation.com/learn/
Basic Examples
Code
<script src="abcjs_basic_1.0.13-min.js" type="text/javascript">
</script>
<script type="text/javascript">
window.onload = function() {
abcString="%%staffwidth 250\nX: 1\n";
abcString+="T: A Simple Tune\n|EDCDEEE2|z4|";
divPlay="play-basic-play";
renderAbc(divPlay, abcString);
divShow="play-basic-show";
renderMidi(divShow, abcString);
}
</script>