raspberry pie The project does not have to be complicated to be unbelievable, this Pi project is a brilliant example. RandomBrasilian created a set of Raspberry Pi zero-power Christmas lights that can react to different notes played on the keyboard.According to the original post shared to Reddit, This is their first Pi project, making the creation even more impressive.
The idea is to create a system that changes the color of the LED when music is played on the digital piano. RandomBrasilian is using a string of addressable WS2811 lights, which will change the color of the string at a time when the notes are played. Each note corresponds to a color, creating a visual display of the music you just heard.
According to our experience, some The best Raspberry Pi project Perform several iterations before reaching the final design. We contacted Random Brasilian and he explained that the prototype was created using a Philips Hue lamp connected to a computer.But in order to make things more dynamic, they decided to use WS2811 Christmas lights and use a Raspberry Pi Zero Not a PC.
The keyboard outputs data to Pi via USB in the form of MIDI. The input is read using Mido lib, a Python library created to handle MIDI input. When each note is recognized, the next light in the string will change to the predetermined corresponding color. Another concept that failed to realize the final product was the idea of lighting a light only when the notes were played, but since only one light was displayed at a time, this proved less dazzling.
View the original thread from Reddit For demo videos of these lights, be sure to follow RandomBrasilian for updates on this exciting Pi project.