This Program Will Convert MIDI Files Into G-Code to Make Your 3D Printer Musical

Celebrate the completion of a print job with some simple songs!

Cameron Coward
4 years ago3D Printing / Music

If you have a 3D printer, then you have no doubt noticed that it can make some pretty strange noises. Most of those sounds come from the stepper motors, and the pitch is dependent on the speed that the motors are moving out. Upgrading your stepper motor drivers can reduce the volume by smoothing out the steps as the motors spin. But what if instead of trying to reduce the sound your stepper motors, you embraced it? Redditor FuseBox2R wrote a program that will convert MIDI files into G-code that you can run on your 3D printer to play simple songs.

MIDI is a standard that covers a wide range of technical parameters for the creation of digital music. A MIDI file is a bit like a computerized version of sheet music, and contains the information needed to play a digital music. Essentially, it is to music as a vector file is to a raster image, because it contains the data to recreate the piece and not just the result. FuseBox2R’s tool, which you can access online, takes any MIDI file as an input and outputs a M300 speaker G-code file. Simply copy that G-code and run it on your 3D printer, and it will start moving around at the proper speeds to produce the notes defined in the MIDI file to play music!

Cameron Coward
Writer for Hackster News. Proud husband and dog dad. Maker and serial hobbyist. Check out my YouTube channel: Serial Hobbyism
Latest articles
Sponsored articles
Related articles
Latest articles
Read more
Related articles