You sit down with your six-string, ready to bash out that new song you recently mastered, but find you’re out of tune. Redditor u/thataintthis (Guyrandy Jean-Gilles) has taken the pain out of tuning your guitar, so those of us lacking this necessary skill can skip the boring bit and get back to playing.
Before you dismiss this project as just a Raspberry Pi Pico-powered guitar tuning box, read on, because when the maker said this is a fully automatic tuner, they meant it.
Guyrandy’s device listens to the sound of a string being plucked and decides which note it needs to be tuned to. Then it automatically turns the tuning keys on the guitar’s headstock just the right amount until it achieves the correct note.
Genius.
If this were a regular tuning box, it would be up to the musician to fiddle with the tuning keys while twanging the string until they hit a note that matches the one being made by the tuning box.
It’s currently hardcoded to do standard tuning, but it could be tweaked to do things like Drop D tuning.

Commenters were quick to share great ideas to make this build even better. Issues of harmonics were raised, and possible new algorithms to get around it were shared. Another commenter noticed the maker wrote their own code in C and suggested making use of the existing ulab FFT in MicroPython. And a final great idea was training the Raspberry Pi Pico to accept the guitar’s audio output as input and analyse the note that way, rather than using a microphone, which has a less clear sound quality.
These upgrades seemed to pique the maker’s interest. So maybe watch this space for a v2.0 of this project…
(Watch out for some spicy language in the comments section of the original reddit post. People got pretty lively when articulating their love for this build.)
This project was inspired by the Roadie automatic tuning device. Roadie is sleek but it costs big cash money. And it strips you of the hours of tinkering fun you get from making your own version.
All the code for the project can be found here.
The post Automatically tune your guitar with Raspberry Pi Pico appeared first on Raspberry Pi.
Level up your Guitar Hero gaming with Nick O’Hara’s Jon Bot Jovi Guitar Hero robot. While Nick admits this is an expensive project (around $1000 to build), it’s something that was so “ridiculous, hilarious, and awesome” he felt he just needed to do it.
You’re halfway to shredding a Bon Jovi chorus perfectly on Guitar Hero and you can taste the fame. Problem is, you’re no Jon Bon Jovi. Or Peter Frampton. Or Slash. So you need Raspberry Pi to assist your rockstar dreams. Enter Jon Bot Jovi.

A solenoid is just a coil of wire, but when you pass an electric current through it acts as an electromagnet, and a magnetic field is generated. When you turn the current off, the magnetic field goes away. Inside the coil of wire is a metal rod, when the current is on and the magnetic field is present, the rod is free to move in the direction of the field. In this way, a solenoid converts electrical energy into movement and the rod moves in or out of the coil depending on the current applied.
Here, a Raspberry Pi controls a bunch of solenoids as they press and release the buttons on the guitar controller to give Nick his god-like skills. Watch the build video on YouTube for a simple walkthrough of how this all works.
Building the mechanical fingers and solenoids was one of the trickiest parts of the build. Nick ended up burning through a lot of them as he’s new to robotics and didn’t understand the relationship between power, voltage, and current, so they burnt out quickly. Luckily, he found a robotics guy to give him a 30-minute crash course, which set the project on the right path. Heroes come in all shapes and sizes.

Note recognition was also far from an easy task. Nick originally tried to look at specific pixels on the screen, which worked for slow songs, but for faster songs it would miss around 30% of the notes. He eventually turned to OpenCV, but it took a fair amount of effort to hone the perfect filtering to make the note recognition accurate. Fiddly, but worth it.
Nick’s favourite part of the project?
“Seeing Jon Bot Jovi absolutely shred on the guitar. Did you see how fast he’s strumming during Through the Fire and the Flames?!”
We love seeing a maker so happy with a final build and we wish we could come and play too! (We are similarly stunted in our guitar-playing abilities.)
Nick wrote a project post on Hacker News for those who are curious about the more technical details. And the original build video on YouTube is a wild ride, so check it out and subscribe to Nick’s channel.
The post Shred through Guitar Hero with a Raspberry Pi-powered robot appeared first on Raspberry Pi.
Laura Sach and Martin O’Hanlon, who are both Learning Managers at the Raspberry Pi Foundation, have written a brand-new book to help you to get more out of your Python projects.

In Create Graphical User Interfaces with Python, Laura and Martin show you how to add buttons, boxes, pictures, colours, and more to your Python programs using the guizero library, which is easy to use and accessible for all, no matter your Python skills.
This new 156-page book is suitable for everyone — from beginners to experienced Python programmers — who wants to explore graphical user interfaces (GUIs).

You might have met Martin recently on one of our weekly Digital Making at Home live streams for young people, were he was a guest for an ‘ooey-GUI’ code-along session. He talked about his background and what it’s like creating projects and learning resources on a day-to-day basis.
Laura is also pretty cool! Here she is showing you how to solder your Raspberry Pi header pins:
Martin and Laura are also tonnes of fun on Twitter. You can find Martin as @martinohanlon, and Laura goes by @codeboom.
In Create Graphical User Interfaces with Python, you’ll find ten fun Python projects to create with guizero, including a painting program, an emoji match game, and a stop-motion animation creator.

You will also learn:

You can buy Create Graphical User Interfaces with Python now from the Raspberry Pi Press online store, or the Raspberry Pi store in Cambridge, UK.
And if you don’t need the lovely new book, with its new-book smell, in your hands in real life, you can download a PDF version for free, courtesy of The MagPi magazine.
The post New book: Create Graphical User Interfaces with Python appeared first on Raspberry Pi.