In my previous post I pointed to some sources of information about how to read Midi music files. I’ve now Open Sourced my working code.
I’m a total newbie at Git, but even so I’ve managed to create repositories for the Robotic Glockenspiel and the Arduino Midi File Reader library it uses. See My GitHub repositories for the current state of things.
The repos are far from ready for prime time, but they have the essentials for this project-in-progress:
- The Arduino Midi File Reader library I wrote to deliver Midi events from the file in sequence. I’m hoping others will find this library useful. It currently has no documentation at all, other than the comments in the code.
- The Fritzing circuit diagram for the glockenspiel controller so far (no physical user interface)
- A Bill of Materials (parts list) for the electronics and a few other things. I still need to add the wood and work out e.g., the number of conduit pipes I needed to build the 19 chimes.
- The Robotic Glockenspiel Arduino program, as-is. It currently will play a hard-coded list of Midi files that reside on the MicroSD card, with what seems to be the correct timing (although I know it will end each song abruptly). There’s much left to add, such as using a network card to read the playlist and the Midi files from the net, and code to control the player using a set of pushbuttons.
As an added benefit, all this is now under a real revision control system rather than being backed up nightly to my USB fob.
In my next post, I show how I mounted the solenoids to the frame.