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.
Code: Github page File:Http://media.wpi.edu/Academics/Depts/HUA/Manzo/AndrewWalterFinal/Code.zip
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