import IPython.display as ipd
# Hide code by default when the notebook is exported as HTML.
ipd.display_html('''
<script>
$(function() {
if ($("body.notebook_app").length == 0) {
$(".input").hide();
}
});
</script>
''', raw=True)
# Create HTML buttons to show or hide IPython input cells.
ipd.display_html('''
<button onclick="$('.input').show();">Show input</button>
<button onclick="$('.input').hide();">Hide input</button>
''', raw=True)
Music can be represented in many different ways. The printed, visual form of a musical work is called a score or sheet music.
Sheet music consists of notes. A note has several properties including pitch, timbre, loudness, and duration.
Pitch is a perceptual property that indicates how "high" or "low" a note sounds. Pitch is closely related to the fundamental frequency sounded by the note.
Pitch class (Wikipedia)
Octave (Wikipedia)
Equal temperament (Wikipedia)
Semitone (Wikipedia)
Key signature (Wikipedia)
Time signature (Wikipedia)
Tempo (Wikipedia)
ipd.SVG("https://upload.wikimedia.org/wikipedia/commons/2/27/MozartExcerptK331.svg")