MIDIStep
From vjmedia
MIDIStep is a Ruby command line program that generates G-Code (3D printer commands) from a MIDI file. The 3D printer will play tones from the MIDI file using its stepper motors.
How to use MIDIStep:
Recordings of a printer running MIDIStep-generated gcode
C Major Scale
Mario Victory Jingle
Mario Underground Jingle Failure
Zelda Triforce Jingle