Use a Guitar Hero / Rock Band plastic "guitar" game controller as a real MIDI input device
I didn't want to go too long without an update on this. I've done some significant work on the software (PC side) to configure the instrument. The way this will work is:
Here's a screenshot of the program.
Still a work-in-progress, but much of the functionality is there. Don't be alarmed by the Windows 7 UI - the whole thing is being written in... wait for it... FreePascal using the Lazarus IDE. So that makes it easily cross-platform when I release the code later.
This is my first time using Pascal / Delphi / etc. Can definitely see why it was the beginner language back in the day, but I'm treating it more like a cross-platform VB6 and it seems like a good fit.
It works! Next step: add features, design a replacement PCB?
For my first prototype, let's take my Arduino and solder wires all over the insides of this.
Well that was easy. Digital inputs on practically everything, except the potentiometer which is wired to Analog Input 0.
Now for the fun part: using the ever comfortable, highly productivity enhancing Arduino IDE. Because I'm a pleb engineer, I didn't roll my own highly efficient MIDI implementation, and instead just dumped in the Arduino MIDI library.
The way this works is:
At least, that's the theory, but there are some bugs in the prototype. One of the frets seems permanently stuck "on", the whammy bar sends pitch bend nonstop all over the place, and so on.
Let's begin with the Guitar Hero controller. Thanks to the insane popularity of these games, there are probably now more of these plastic guitar controllers than there are humans on the planet - at least, there were enough for one company to drop hundreds of the damn things into a volcano as a publicity stunt. Search your local Craigslist and thrift stores, you should be able to snag one for five bucks or less.
I caved and dropped a whopping $6.95 on this grody red Gibson SG knockoff from the local game store. Such is the price of progress, I guess. The clerk tells me there's a warranty but guess it's voided now.
This version is for the PS2. Older versions are probably better for our needs: the new ones are wireless and include all kinds of proprietary chips and other nonsense. Let's take this thing apart with a Philips screwdriver and see what kind of parts our unwise investment will get us.
The case got a thorough bath. Though the stickers no doubt added all kinds of awesome street cred, I peeled them off anyway.