Forums > MaxMSP

Guitar Hero app/Key combinations

Oct 19 2009 | 8:38 pm

Basically what I’m trying to do is record my own Wav files (of myself playing single notes as well as chords) which can be triggered with a Guitar Hero controller.

My problem is that, there’s Green, Red, Yellow, Blue, and Orange buttons on the controller, each one I want to trigger a separate Wav file.

However, I also want to be able to trigger DIFFERENT .wav files by pressing different combination’s such as "Green + Yellow" at the same time or "Red + Blue" WITHOUT triggering the .wav files that would be assigned to Green, Yellow, Red, or Blue when they are played separately.

Help would be unbelievably appreciated.

Oct 19 2009 | 9:21 pm

well this is more than possible. so you will be happy with that.

have you looked at the interview with owen grace
he uses the guitar hero controller to turn it into a guitar, of sorts. he has a band as well, with 2 others on the controllers and a real drummer
a patch is available from them.

the one object you will be looking at is [hi].
can be used for pretty much anything that is a controller, like gamepads, for one.
this reads in data coming from the controller and splits it accordingly to spew out numbers etc.
look on the help file of [hi], then you will get what i mean.

as you are looking to activate different .wav files from different combinations, you will have to build different selection values.
so just say that pressing ‘red’ gives out 23, and pressing ‘green’ gives out 32, and pressing them together gives out 45. then you would have to pretty much build something to select those when those numbers come up.

there is more too it, but this just a simple explanation of what this would entail for what you want.

but do look at the owen grace interview, because this is exactly what he does. but i think he uses fm signal or something and not .wav files. but same aspects will apply to getting it to work.

hope this helped you on your path…

Oct 19 2009 | 10:26 pm

Here’s a patch that might be helpful. I don’t have a guitar hero controller so I’ve only tested it using the [funnel] object as you can see on the right hand side of the patch. If you change the arguments of the [route] object to the values you get printed from [hi] when you press each button it should convert the presses to binary so you have a different number for each combination of buttons.


— Pasted Max Patch, click to expand. —
Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP