Audio
Thirty Tiny Hammers Turned This Glockenspiel Into a Bluetooth Instrument
Liz Clark built a robot glockenspiel with 30 individual solenoids that strike real metal bars in response to Bluetooth MIDI.

Imagine sending a few notes from your computer and watching thirty little mechanical fingers get ready to play an actual instrument. Not a recording of one. A real set of metal bars, being struck in front of you.
That's what Liz Clark built with her wireless MIDI robot xylophone: a row of solenoids mounted over a bell kit, controlled by a microcontroller receiving Bluetooth MIDI. Each little actuator can hit a corresponding bar when its note arrives.
First, a small musical correction. The maker calls it a xylophone in the project title, but explains that the instrument used is technically a glockenspiel or bell kit. Xylophone is the familiar shorthand; the shiny metal bars in this particular build are the clue that we're dealing with a different member of the percussion family.
The original project was published in 2020, with the guide updated in 2026. These are Clark's actual build photographs. We haven't made or tested the instrument ourselves, but the source files, electronics notes and demonstration are there if you want to go deeper.
Watch the robot play
Liz Clark's original Adafruit demonstration shows the real instrument playing.
The fun part is that you can see the musical instruction become a physical action. A note isn't just changing a waveform inside a computer; a little mechanism moves, hits metal and creates a sound in the room. It's a proper collision between digital music and a very analogue object.
One small striker for each note

The creator's printed solenoid mounts before installation. Photo: Liz Clark / Adafruit, CC BY-SA 3.0; resized. Original.
The project uses thirty small solenoids: electromagnetic actuators that move a little plunger when driven. Clark arranged one over each of the notes she wanted to control. Send the corresponding instruction and the mechanism strikes the bar, then retracts.
The project overview describes playing notes and chords from a MIDI keyboard or music software. The tone still comes from the bell kit being hit. Your computer isn't streaming a recorded glockenspiel sound to a speaker hidden under the table.
That doesn't mean you can put thirty actuators over any instrument and expect it to sound lovely immediately. Where a striker hits, how it is supported, the mechanical travel and the way the instrument is built all affect the result. The photographs show one documented arrangement, not a universal set of dimensions for every keyboard percussion instrument.
The printed mounts solve a surprisingly fiddly problem

Solenoids installed in the printed holders. Photo: Liz Clark / Adafruit, CC BY-SA 3.0; resized. Original.
Thirty components sound manageable until each one needs to sit in the right place. Clark designed printed holders to position groups of actuators on aluminium rails. The mount assembly guide shows the parts, fasteners and cable channels used in her build.
The useful design lesson is repetition. Instead of inventing a different bracket for every note, make one part that handles a repeated spacing problem, then adjust the arrangement to suit the actual instrument. The project still needs a lot of assembly, but the printed components give that work a consistent starting point.
If you're tempted to adapt the idea, measure the instrument you have before printing a whole tray of holders. Bar width, spacing, height and the place a striker can make contact will differ. A one- or two-note mock-up can answer a lot before you commit to thirty of anything.
The rail is doing more than holding things up

Mounts aligned on the rail over the metal bars. Photo: Liz Clark / Adafruit, CC BY-SA 3.0; resized. Original.
The maker's rail carries the row of mounts and helps align the strikers with the bars. The original assembly instructions discuss positioning the actuators towards the middle of the notes for the desired tone.
That sounds like a tiny detail, but it's the difference between making something move and making it work musically. A striker that misses, rubs or keeps resting on the bar won't give the same result as a clean strike and release. The mechanics are part of the instrument, not just a way to prop up the electronics.
When planning a smaller version, I'd draw a side view first. Mark the bar, the mounting rail and the actuator's movement. Leave room to adjust the height and angle. Then test a single note at a modest pace, with the instrument supported and your hands clear of moving parts.
What actually travels over Bluetooth?
The short answer is MIDI instructions. MIDI can tell a device that a note has been pressed or released; it doesn't have to carry the audio recording itself. In this project the Bluetooth connection sends musical messages to the controller, which then drives the appropriate physical striker.
The controller is an ItsyBitsy nRF52840 running CircuitPython. Additional chips and driver circuits let it manage the many outputs without needing thirty separate controller pins. The electronics page explains the arrangement and wiring.
Bluetooth MIDI setup depends on your computer and software. The guide covers a macOS route and describes a Windows setup using MIDI software and a virtual loopback for a digital audio workstation. Those instructions were written for the environment at the time, so check the current documentation for your own operating system and music software before buying parts.
Also, wireless MIDI doesn't mean the whole machine is magically wireless. The controller and actuators still need an appropriate power supply and the build has plenty of wiring between its parts.
The wiring is the ambitious bit

The creator's electronics during assembly. Photo: Liz Clark / Adafruit, CC BY-SA 3.0; resized. Original.
Look at that photograph and you'll understand why I wouldn't call this a quick afternoon craft. Repeating a circuit thirty times means thirty opportunities to lose track of which wire goes where. The creator's wiring notes are part of the appeal because they show the less glamorous work behind the lovely finished sound.
If you build something similar, label the leads, keep a record of the mapping between MIDI notes and physical bars, and test one group before wiring the entire instrument. Use the specified drivers and power arrangement; a small microcontroller output isn't a substitute for a circuit designed to drive a solenoid.
The original guide is the source for the actual circuit, component values and assembly. This article is an overview of a maker project, not a tested wiring plan or a claim that we've checked every component against a different instrument.
Three ideas you can steal for a smaller experiment
You don't need to start by automating an entire bell kit. The principles are useful in much smaller projects:
- Make one note respond. A single actuator and a suitable sound-producing object let you explore timing, travel and mounting.
- Separate the instruction from the sound. MIDI can trigger a physical event, a synthesiser or both. Decide what is supposed to make the noise.
- Design an adjustable mount. A few millimetres of movement can matter when you're trying to hit a small target repeatedly.
If you already work with a digital audio workstation, imagine sending a slow pattern to one physical note while a software instrument plays alongside it. The appeal is the slightly unpredictable character of a real object joining the recording, not a promise that the result will sound identical on every hit.
Where to start
Watch Clark's demonstration, then open the full project guide and its MIDI setup page. Check the parts, instrument dimensions, power requirements and current software support before deciding how much of the build to take on.
I love that this turns a familiar bell kit into something that can sit beside a laptop and play along. It's a room full of tiny mechanics making music from messages, and that is a very good reason to spend a minute watching it.
Image credit: Liz Clark / Adafruit Learning System. The project photographs are individually credited and licensed CC BY-SA 3.0; resized adaptations are shared under the same licence.
Sources
Share this article
Know someone who would enjoy this? Pass it along.
