Project Description:
Electric Hero is a real-time note-matching game that turns live electric guitar input into a dynamic and interactive gameplay experience. Built on a Raspberry Pi 5 with a Focusrite Scarlett 2i2 audio interface, the system captures guitar signals, analyzes them in the frequency domain, and scores performance using cosine similarity — avoiding the challenges of direct note classification. Players select a song, then match their playing to falling, color-coded notes across six lanes representing the guitar strings, all while a vibrant gradient background and smooth visual effects enhance the experience. Adjustable timing and frequency smoothing settings allow players to fine-tune the game’s difficulty. After each song, players receive a real-time performance score and can easily select a new track to play. By blending embedded systems, digital signal processing, and live musical performance, Electric Hero makes learning music more engaging, accessible, and fun.