mockband/README.md

66 lines
2.0 KiB
Markdown
Raw Normal View History

2023-12-31 20:33:29 -07:00
# Mock Band
Microcontroller Firmware to emulate guitar and drum kit controllers from the
Wii version of the Rock Band games.
This is based on the foundational work done by Nicholas Angle on the
[Wii Guitar Controller](https://github.com/NianZo/WiiGuitarController)
([text article](https://www.niangames.com/articles/reverse-engineering-rockband-guitar-controllers)).
All I did was speed up the loop code to detect drum pad strikes,
which are very quick!
# Parts Needed
* A [Sparkfun Pro Micro](https://www.sparkfun.com/products/12640)
* A physical controller
## Sample controllers
I used the following:
* [MiniCaster](https://www.printables.com/model/479046-minicaster-mini-clone-heromidi-controller)
by Vlad the Inhaler:
it comes with full build instructions.
* [Cheap children's drum toy](https://www.amazon.com/Electronic-Sboet-Practice-Headphone-Christmas/dp/B0CHJMYCH9/),
each pad is a momentary switch.
2023-12-31 20:36:07 -07:00
# Wiring
![see standard.hh for pin connections](wii-rb-std.png)
2024-01-01 12:42:07 -07:00
## Drum Kit
On the drum kit,
* Orange: kick pedal
* Solo Buttons: cymbals
I think. I haven't been able to test this yet,
but the Clone Hero wiki leads me to believe this is how it works.
# Still To Do
* 2x kick: needs its own input pin. Maps to button 5.
* Drum pad modifier: looks like button 10 needs to be pressed when a drum pad is hit.
* Drum cymbal modifier: I don't see a problem with using the solo pins for this, but I may need to also send button 11.
* Hi Hat pedal: needs to be its own input pin. Looks like it maps to the second Y axis: the one I'm currently using to send frame rate.
If I set this up correctly, it will use every input pin on the pro micro.
Perhaps a smarter thing to do would be use the value of USB_PID
to re-use the orange solo pin as the hi hat pedal,
and the red solo pin as the 2x kick.
The
[Clone Hero Drum Mapping Guide](https://wiki.clonehero.net/books/guitars-drums-controllers/page/drum-mapping-guide)
is super helpful.
I'll need to hunt down a copy of Wii Rock Band 3
(or maybe The Beatles?)
in order to test this on an actual Wii.