Use the alphanumeric keys to produce notes, and the space bar to change instruments. Press the right arrow to play back the recorded sequence. Unless someone's changed it already, this will be me playing a melody by Joseph Haydn, transposed into C major. Press the down arrow to start and stop recording, and the right arrow to play your recording. You can play over the top while playing back a recording, and even begin recording again after starting playback. Pressing the up arrow will replace the default recording with yours (please, go ahead! :)
Partly inspired by @DCPU-16's Gameboy emulator (http://scratch.mit.edu/projects/31903442/) This project uses clones to generate multiple sounds at once, and stops playing each note by deleting the clone associated with that key. Each quaver that appears on the screen is one such clone. Each of the keys has assigned a unique 'channel' number so that the clone created upon pressing it can be deleted when you release the key. When playing back a recording, the clones are assigned 34 channels above the normal keyboard channels, so that you can play over the top of it. BUGS: • cannot play more than 5 notes simultaneously • cannot play an octave interval using both the qwerty and asdfgh rows while simultaneously playing any other note on either of those rows • some other combinations of simultaneous notes involving sharps/flats cannot be played.