Made the notes in music_keyboard work in ascending order (and added a slightly more general underlying mechanism).