Recording can now determine which type each recorded note is (e.g.
quarter note, whole note, etc.).
StaffMidiPlayer now takes the type of each note into consideration when
playing.
Refactored.