Bang Bang!! Hacking Switch Controllers to Play Rhythm Games Using...
summary
Builds a homemade taiko drum interface that turns microphone audio into Switch button presses and it works. Uses a Teensy microcontroller with the Teensy audio board, an FFT that samples 1/344 s into 256 float bins (~172 Hz each) to distinguish center (bass) vs rim (treble) hits, and finally hacks a cheap Target controller by wiring a button line to ground to simulate presses. Demonstrates actual code, wiring, and a playable result with modest tuning.
AI-written summary · about
chapters (8)
- 0:00Project introduction
- 0:23Taiko drumming problem
- 1:46Choosing the right microcontroller for the task
- 3:09Audio capture with Teensy
- 4:11Drum hit detection with FFT
- 5:59Emulating buttons via USB
- 7:42Testing with real drum
- 8:38Results and lessons
related talks
38mSoul from Scratch: Designing a More Portable Organ
25mFunky Hardware Beats: The story of dance-mat.js
10mWhimsy: Babies just want to have fun
31mBeats in the Browser - Coding Music with JavaScript
37mHow to code music?
25mProgramming with a DJ Controller - not vibe coding
11mWe used a MIDI CONTROLLER to tune our GAMEFEEL!
18mJust go for it: The story of dancemat.js
