If there’s one factor the Raspberry Pi can do, it’s assist carry fantasy worlds to life. From lifelike props to interactive decor, makers have been recognized to create some critically improbable Pi-powered creations from imaginative works like films and video video games. Right this moment, we’ve one other such creation to share with you from a maker often known as Aesz14 over at Reddit, who created a duplicate of Majora’s Masks, from online game The Legend of Zelda: Majora’s Masks, and programmed it to answer sound by flashing LEDs.
Your entire venture is pushed by our favourite SBC, the Raspberry Pi. In line with Aesz14, it makes use of 100 particular person LEDs together with 2 which are reserved only for the eyes. A microphone listens for audio which triggers the colour and brightness of the LEDs to alter. The pitch of the audio in addition to its depth will decide the impact in actual time.
The masks is 3D printed and took over 80 hours to print. Your entire venture took roughly 200 hours altogether to complete. We dug somewhat deeper and confirmed that sure, Aesz14 did have to make use of the ocarina to construct the venture, having performed the Inverted Music of Time many occasions to decelerate time lengthy sufficient to finish the work.
{Hardware}-wise, it makes use of a Raspberry Pi 3 B however there’s no cause you couldn’t use a Pi Zero or a Pi 4 as an alternative. The masks was printed utilizing a Prusa MKS3 and consists of 8 separate components. Aesz14 opted to make use of wood-based PLA and glued the parts collectively utilizing wooden glue. For the ultimate contact, the masks was painted with acrylic paint 3 times to offer it the fitting feel and look.
Aesz14 was form sufficient to share all the code used within the venture. The whole lot is Python based mostly utilizing a few acquainted libraries like Pyaudio and Numpy to tug off. You could find the total supply code over at Pastebin to see how every thing operates.
If you wish to recreate this Raspberry Pi venture or simply get a more in-depth take a look at how this one goes collectively, try the unique venture thread shared to Reddit. There, you’ll additionally discover an superior video of the ultimate construct in motion. Be sure you comply with Aesz14 for future tasks in addition to any updates on this one.