3D-printer Song
Summary
Using python, a friend and I were able to convert midi-files into gcode which enabled a melody to be on an Ultimaker 2+, using the x and y stepper motors. The melody volume was very low and it only worked with some songs. Throughout this process, we learnt a lot about what information is in a midi file and how to mathematically convert it to sound in a stepper motor and how gcode is read by the machine.
Background
Makerverkstedet, our university library's makerspace, was reopening after MAKE NTNU took over the responsibility of operating the makerspace. For that occasion we wanted to do something special with the equipment we had in the makerspace. After some brainstorming we came to the conclusion to try to make the 3D printer play songs.
Results
We were able to make it play, but on very low volume. We haven't played a lot with the settings, so it can probably be refined to sound better, but the songs are still recognisable.
Last updated
Was this helpful?