Skip to content

bonnette/MIDI_Glockenspiel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino MIDI controlled Glockenspiel

Client Photo
An automated Glockenspiel Arduino Project Inspired by an Instructable
https://www.instructables.com/id/Making-the-Spielatron-Robotic-Glockenspiel/
See my AutoGlockenspiel repository for more information on my implementation of the "Instructable" project.

The repository that you are currently looking at (although it was inspired by the Spielatron Instructable) is a totally different interpretation.

This project uses a Windows PC to drive an Arduino which fires one of 32 solenoids that sit above each note.

The MIDI control of the solenoids is accompished by using an Arduino Pro Mini. The serial connection between the Windows PC and the Arduino is through an FTDI interface. This interface allows music that has been converted to MIDI to be played on the Glockenspiel.

The Glockenspiel is a Pearl 32 note that I purchased from Ebay for $45

There is only one Arduino software program. This program uses the Arduino midi library to decode each MIDI note received from the PC. Then using I2C it sets one of 32 pins distributed across two MCP23017 I/O expander boards to a "HIGH" which then fires a solenoid that then strikes a note on the glockenspiel.
The current program allows only one note at a time to be played. The use of LMMS on the PC provides you with the opportunity to direct MIDI to the Arduino on one track while the other tracks play on the computer. This makes for a very pleasant experience in that, you can listen to the glockenspiel along with the accompanying instruments playing on the PC.

I designed holders for the solenoids. These holders fit on the bottom rails of the glockenspiel and align the solenoids over the keys. There are five different holders. Each holder takes approximately 4 hours to print. The difference in the holders is their location on the glockenspiel. There are three corner holders that hold two solenoids each. There are "High" holders which are all the same and there are "Low" holders. These are all the same as well.

Client Photo
The solenoids are held in place using zip ties.(Shown above). The zip ties are tied tight enough to hold the solinoids snuggly.

A video of the glockenspiel playing a tune can be found here:
https://youtu.be/QgNRVtduxMg

I used Fusion360 for the design of the solenoid holders and I thank Autodesk for allowing makers such as myself to use Fusion360 free of charge. Thanks Autodesk !
I would also like to thank the developers of LMMS (https://lmms.io/) for their work.
Thanks to hairless-midi (https://projectgus.github.io/hairless-midiserial/) for developing the Hairless MIDI Serial Bridge.
and I also thank Tobias Erichsen for developing loopMIDI (https://www.tobias-erichsen.de/software/loopmidi.html). His software creates virtual loopback MIDI-ports which can then be used to connect the PC through a serial port (using the hairless-midi bridge) to the midi enabled glockenspiel.