Automatically light up your saxophone with Raspberry Pi
By Rob Zwetsloot. Posted
What are tech friends for if not helping you make cool, reactive lights for your musical instruments? In the case of Keith Thomson and his friend Chris Croft, it was updating a previous version.
Advertisement
Christmas is coming – keep Santa on the right track with our Raspberry Pi gift guide!
“Chris Croft, a friend of over 40 years is not only the world’s most watched project management trainer, but plays saxophone in a band (lost-at-sea.co.uk) for fun,” Keith explains. “He had someone design a light for his saxophone to illuminate it based on the note he was playing. It’s a great piece of electronics, but crucially chews through batteries (he has to replace them in the interval), is bulky, meaning that he has to physically wear the electronics, and is expensive to modify as it is based on complex circuitry with quite a few PCBs. I thought I could come up with a new software-based design that overcame all the problems that were bugging Chris. I also wanted it to be low-cost.”

Smaller solution
Keith decided to go with Raspberry Pi, not only because he’d used it before in projects, but also because Raspberry Pi Zero was small enough to fit in the bell of the saxophone.

“The design process turned out to be quite complex and involved a lot of dead ends,” Keith admits. “For example, one design ended up with too much interference from the LEDs on the microphone, so I had to abandon it. The main issues involved finding a suitable microphone that was not susceptible to interference and would work with a Raspberry Pi, finding LEDs that could be easily controlled and interfaced, setting up the code to reliably detect saxophone notes and ignore the rest of the band, and, finally, fine-tuning the lighting to remove flicker and fade appropriately. The physical build was relatively simple, and involved modifying a strainer from a gutter to house the components, including a switch to safely turn Raspberry Pi off at the end of a gig.”

Jam session
So, how does Chris like the final product? “Chris loves it!” Keith tells us. “It’s a game-changer for him and not only overcomes the previous problems, but performs better too (more colours, less flicker, less interference from other sounds and so on).”

While there are currently no upgrade plans for the light, Chris is going to test it further at future gigs. Keith can always remotely dial into it anyway thanks to VNC.
We hope to one day see more light-up instruments at the gigs we go to.
Rob is amazing. He’s also the Features Editor of Raspberry Pi Official Magazine, a hobbyist maker, cosplayer, comic book writer, and extremely modest.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles
Christmas Gift Guide in Raspberry Pi Official Magazine 160
There’s a ton of great stuff in issue 160, including the incredible motion scanner, inspired by the film Aliens. It’s beautiful, it uses Raspberry Pi technology and makes a satisfying ping sound, and the best thing about it is that it actually works, thanks to a DreamHAT+ radar board. Yes, you too can join the […]
Read more →
Win a Raspberry Pi 500+ and Raspberry Pi Monitor!
Fancy getting the most powerful Raspberry Pi desktop setup? Raspberry Pi 500+ and Raspberry Pi monitor pair perfectly together for a portable – and fixed – desktop computer, powered by Raspberry Pi. We have a set to give away, and you can enter below. A Raspberry Pi 500+ & Raspberry Pi Monitor
Read more →
All right all right!! Artificial Intelligence, Hollywood style
When we get AI right, odds on it’ll be thanks to small firms, motivated individuals, and Raspberry Pi
Read more →
Sign up to the newsletter
Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.