Learn to Play the Piano with the Help of a Raspberry Pi and NeoPixels

Most people have at least considered learning to play an instrument, and many of you have certainly actually tried. But it’s a long and…

Cameron Coward
5 years agoMusic

Most people have at least considered learning to play an instrument, and many of you have certainly actually tried. But it’s a long and difficult process, and that’s especially true if you don’t have an instructor to help you practice properly. You can follow along with videos online, but that still doesn’t provide any kind of interactive instruction. Luckily, technology can help. Aleksander Evening has proven that by using a Raspberry Pi and NeoPixels to learn how to play the piano.

This project was inspired by famous YouTube pianist Rousseau. In his videos, Rousseau plays beautiful piano pieces that are accompanied by visualizations of the notes on the keyboard itself. Evening thought that would be helpful in learning how to play the piano, and so he set out building his own visualization system. That is made from a strip of Adafruit NeoPixel-style individually-addressable RGB LEDs that runs the entire length of the keyboard and is controlled by a Raspberry Pi Zero W.

The Raspberry Pi receives MIDI data via Bluetooth from Synthesia software that’s running on a tablet. That software connects to the keyboard and shows the notes to be played as you play them. Normally those notes are just shown on the screen, but Evening’s setup also lights up the LEDs on the keyboard itself. Blue lights indicate the left hand finger positions, and green lights the left. The software automatically waits until you’ve pressed the correct keys, which makes this a fully-interactive way to learn to play the piano on your own.

Cameron Coward
Writer for Hackster News. Proud husband and dog dad. Maker and serial hobbyist. Check out my YouTube channel: Serial Hobbyism
Latest articles
Sponsored articles
Related articles
Latest articles
Read more
Related articles