Raspberry Pi-Powered Majora’s Mask Flashes To Music
if there is one raspberry pi It helps bring fantasy worlds to life. From realistic props to interactive décor, makers are known for creating stunning Pi-powered creations from imaginative creations such as movies and video games. Today on Reddit he presents another piece from the maker known as Aesz14. Majora’s Maskfrom a video game The Legend of Zelda Majora’s Maskand programmed it to react to sound by blinking an LED.
The whole project is powered by our favorite SBC, the Raspberry Pi. Aesz14 uses 100 individual LEDs, including two reserved for the eyes only. A microphone listens for audio that triggers changes in the color and brightness of the LEDs. The pitch of the audio and its strength determine the effect in real time.
The mask was 3D printed and took over 80 hours to print. In total, it took about 200 hours to complete the entire project. We dug a little deeper and confirmed that yes, Aesz14 had to use an ocarina to build the project, playing the Inverted Song of Time over and over to get the job done. We slowed down the time by a sufficient amount of time.
Hardware wise I’m using a Raspberry Pi 3 B, but there’s no reason why I couldn’t use a Pi Zero or a Pi 4 instead. The mask was printed using a Prusa MKS3 and consists of 8 parts. Aesz14 chose to use his wood-based PLA and used wood glue to glue the components together. As a final touch, he painted the mask three times with acrylic paint to give it the right look and feel.
Aesz14 kindly shared all the code used in the project. Everything is Python based, using some familiar libraries like Pyaudio and Numpy. The full source code can be found at: pastebin Check how everything works.
If you want to reproduce this raspberry pi project Or take a closer look at how this all fits together, check out the original project thread shared redditThere’s also a great video of the final build in action there. Be sure to follow Aesz14 for future projects and updates to this project.