Page 1 of 1

How to Make Music on power on with your 3d printer - WITH LINKS FOR MIDI to GCODE conversion how to?

Posted: Mon Mar 08, 2021 4:34 pm
by LillianRoot
Today we are making music. Not just any kind of music… no we are making the kind of music to inspire to prototype to… to print stupid vases to! (you know if your into that sort of stuff)

Well anyways it's time to get your 8 bit music machine up and going, because we all know that's why you bought a 3d printer for right? I got a method that you can use to give your 3D printer some custom ditty's for your power on, start of print and end of print! It'll take some work but its not that bad honestly super simple and it will not require you to rev up stepper motors or touch your firmware.

First for this example we are gonna write the 1UP Sound effect from Super Mario. Its 8 bit it's simple and its iconic so it makes the perfect candidate for this little project of ours. Our notes just happen to be C-D-E-C-D-G and I did mine around the octave of 6. Which if you didn't learn any music theory and dont understand dont worry I will be including a chart for note to hertz conversion below so you don't have to google it as well as some nice sheet music resources to translate the cryptic language. Plus I already wrote the example code for the 1UP Sound so you dont even have to do any “hard” work.

Now the method I went about this is perfect for the Ender 3 and Geeetech A10 platform and any 3d printer that Accepts the M300 G-Code Command such as the prusa. If you don't know if your printer will work just google your printer model and see the g code libraries for it, that should tell you if you can do this or not. This nifty little command allows you to make a beep at the Hertz and length you want without really knowing programming. What that means you got your own little retro synthesizer waiting to be orchestrated. One note at a time of course.

We can write some little tunes real easy and without really any coding knowledge because we will be writing it all in G code. We will do this all Without having to rev up your stepper motors like I have seen others do.