Web tool for converting MIDI tracks to M300 speaker gcode for 3D printers. Tested compatible with Marlin firmware (make sure that #SPEAKER is uncommented in configuration.h). Some pre-made tracks are located in the samples folder.
View demo at https://alexyu132.github.io/midi-m300/.
What it sounds like on an actual 3D printer: https://www.youtube.com/watch?v=gurSmmTxVug