using a hid object (360 controller) to record and loop audio- noob help

m1ndbullet's icon

i'm relatively new to max (using version 5) and ive started building a patch based around an xbox 360 controller, using the a,b,y,x buttons as a pad, the sticks to control eq filters and efx and the triggers and shoulder buttons to play/sample through loops from logic.

the coloured buttons are linked to subpatches which contain read messages as well as a few other things (volume controls ect.)

i want the drum pad to be some how linked to a step sequencer and have the ability to be played in using the buttons, if that makes sense, ive built a step sequencer but i dont know how to record/link the button presses to the sequencer and have it play back. (its really basic and builT on using midi numbers- not helpful i know but its practice i guess).

ive only been working with max for a few weeks and could really use any help or patches you guys could offer.

2782.Screenshot20111027at11.55.02.png
png
m1ndbullet's icon

any ideas? x i can upload the actual patch it helps?

m1ndbullet's icon

okay all i need to know is where to put the step sequencer, i know i need another buffer and a record object but i really dont know where they go, ive been through the help files and i'm really stuck.

johno's icon

I'm not exactly sure what you're looking for without seeing a patch but you could use the [mtr] object to record button presses (rather than recording audio). This could be timed by the global transport to record x number of bars.

Let me know if this helps. If you post a patch I could maybe offer more help.

Johno

m1ndbullet's icon

thanks :) heres the patch without my sequencer, its just trying to link the coloured buttons to a step seq.

thanks for your help

2794.gamepatcherwithinter.maxpat
Max Patch
m1ndbullet's icon

sorry for the bump but i'm really stuck x

johno's icon

I've added a system that records button presses. If you check out the help file for [mtr] you can add individual play and record systems for each track. Hope this helps - let me know

Max Patch
Copy patch and select New From Clipboard in Max.

Johno

m1ndbullet's icon

cheers for your help, its just one track recording all for button presses. All i need to know is where to conect a matrix object so the user can visualy see their recorded hits.

cheers for your time, its much apreciated.

m1ndbullet's icon
m1ndbullet's icon