This is really cool. For anyone else who wants to run this on Mac OS X, try installing sox first (brew install sox). That's all I had to do and then I was up and running.<p>A quick melody from a favorite song that I transcribed:
"D4 A4 D5 F5 D5 A4 D4 A4 D5 E5 D5 A4 G3 G4 A#4 D#5 A#4 G4 G3 G4 A#4 D5 A#4 G4 A3 E4 A4 D5 A4 E4 A3 E4 A4 C#5 A4 E4"<p>I love to see the command line put to good use like this!
This reminds me of a cartridge I used to have on my Commodore 64 (don't remember the name off-hand) that came with a piano overlay that you actually sat on top of the C64 keyboard. The overlay was designed to press certain keys down on the keyboard when you hit the piano keys.<p>Great memories!
Inspired by this I have uploaded some sample piano notes (.ogg) for fellow hackers to use for their piano apps!<p>See <a href="https://github.com/mcapodici/pianosounds" rel="nofollow">https://github.com/mcapodici/pianosounds</a>
Which keyboard layout makes it easy to type ñ, {, and } on the same row as j, k, and l? I guessed Brazilian (based on the EN/PT/ES on your profile), but that doesn't seem quite right according to Wikipedia.<p><a href="http://en.wikipedia.org/wiki/Portuguese_keyboard_layout#/media/File:KB_Portuguese_Brazil.svg" rel="nofollow">http://en.wikipedia.org/wiki/Portuguese_keyboard_layout#/med...</a>