Guitar hero drum machine
so want i want is to use a Gutair hero drum kit to trigger samples. I’ve used the [hi] tool and unpack and figured out the values however i’m stuck at the part where it triggers the samples. Do i have to convert it to a different data i.e [mtof].
Any help would be appreciated
Ok, so i’ve figure out how to load the sample and play it which is fine, it plays the sample when the button on the drum kit is press down, but also when it is released. This causes it to play the sample twice. Is anyone aware of what i need to do to stop it from playing twice?
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 859.3ocyYtriaCBEFdcFo4c.4toUJcDfuR6ptpcUUU6xppJmDRFZsAKab6bQ cd1KFry3LStXmfimEwDHD3+7w4b.Rt+xKl3LSbCsvA7Nv2ASlbupkI51pZYR SCSbRiuYdRbgtiNz6VDO+Amo0eFuLkwSnR8GhaZMKVN+ZFe0OyoyklwGEEbE bJv2Mppvyu4I3GsFJQorYrfMMyVnmWwre8VTnitw+c4EUkphocV2ozhh3Uz0 BWRuQqLGz5lVJ3RdbJU27GxYwIGgY5RzVFRW3huxepxz2sYhZO4Er6zSNBe0 Zy2zW4sYTyD3373P0FM9C.ZDYTtUoiwGvCgzvIr54YANtGOblUJkB91MUzdL U2POs+tVt.Lr44As0mYSyh4q1tcEb7lEm9W0H77k7hkYIw29..a4nByBeflI X2CRC2duxWvVwqjV62sax8n4UD+mlg3UeV+0MDn5spWXkGJFRBT5EZZw48pg z5bOWYPTfOT4v.7h.dDUlRfe+WE1mKYnNoqqI2qa3AWDB6e32zc7Z6gkjSv+ sLcFM2p3gnAhKRiG+CRGbuoCiK2uWIJ5EEPvddFh3NdDY.RwUxyhm+a.D.G. 2Gbj18o9X.CBspJ1NrvGOrJSo7xgfGXMOvls72jGLIM0L6erjIiyAehlK7.K E4funRA+MYrjI3fW+02.bcr09D0P7IYkp5P8Ag2NZQ12OLkJyEJjX2cZIF+O nIKVTmO1QmA3dBVgCvYPyDII1FRX+1PxK3bcNzSX+NoX0pDZ+iBq8GBfm5oP 2YVmg3NYGUxn8FVXL8lUbz4ZEeHtUFiuTXU3D1NZ37ckUW6mR8ZlcOvrIy.o EXr6N5IrB4dNe7SAjoWpuE+Y+pMZ0W8AOAaEhx74MSW8gDTlziy2BZgjw06z 1tWApd0xPulsXAkuwuKSJaQlPkUX81l6d0ryhqaZKbydcF0FrSZ67yMjeWDG dbzFoSfyebDm6KWvUMq3CIswINsSTCMJRyePjFBSzaKZtDr5NdMUrhlIChlw AdZYZtJZslqpXEMG1IMCGmnZ3v.TnAnd3V.sphcDcm16abBpPcSb8NphnYH1 DUgHlaqtQMTjWKXWUwZv9vNH8NuuQl3P8+rAgrthczb2NARz33gzIsQNYsU0 fp3+RYOQxA -----------end_max5_patcher-----------
There’s my code if it help anyone
What’s coming out of the [route 50] port? Since I don’t have GuitarHero, I can’t check it. Are there two different values for button down/up? If so, use [select] to choose the value that represents button down and ignore button up. If it’s the same value for both states, then you can have it bang a toggle and then use [select 1] so that it only triggers every other time. Make sure, though, that you send a 0 to the toggle first so that it doesn’t end up working backwards.
The key that i am pressing is the Red drum pad which has a route number 50, when i press the pad down the value is 128 and when released its value is 0 so if i was using the select tool where would i implement this into my patch?
Thankyou for your response.
Are you sure it’s 128 and not 127? If it’s 128, this will bang the 1 message when the pad is pressed.
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 382.3ocuTFsSCBCEF9Z3onodKRZ6n5ldku.9BXLlNniUCzRnc5lKymcaKvba NRvgwDfld5+om+9kSYaX.btZMWCA2AdBDDrMLHvGxEHncd.rjsNsfo8xfR96 p4uBiZVxvWa7g0KpJXa9rKtbUoZkofa7IQZiJx7Zs4eMg1IsQmYSEuwFPsHW xJfQ.3blLGBdtU3BkzHYkdYvGpENMMqTwLoKEx7Wp4ollcgNgFih.zDraHYl 6KAEiNZ2zhO76FlXWduwExS8sl8Vm4t5Qmw1eZAP6K19PPytwVBTSD38Va6x cWXn6Sz.gaIWqY47ePW744J9LbMoWtNRRhQtgIjXp83N82RxK.F80owKrkY5 v6zH8RDe+UzXISxsyFSO1eGYpsGPNfhFNZv82rLdrjL022PuHrfO.K9DgEB4 o+oxWbW7iYkVspNs6fzco.7c8y3ZiPxLBk7PQziDsTjkw8q24uRQVkRHMsln mK3C1Sjg3oj+WOgGhmHivS1I6B+BScWd9A -----------end_max5_patcher-----------
ahh thankyou, it worked outside my patch so i will now put it in.
Thankyou very much for your help.
Hi, sorry for the bump. H_Jord_H, I’m looking into doing something very similar for a Uni project – can I ask how you connected the GH Drums to the computer? Is it Bluetooth? I got a MIDI to USB cable, but it turns out the socket on the kit is an input, so that’s a dead end.
Forums > MaxMSP