LPD8 Problems

rossco242's icon

Hi,

I'm relatively new to max and have been having some problems with getting an Akai LPD8 Pad Controller to function in a patch I'm building.

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

Max detects a signal (via notein and stripnote) but I can't get it to activate a toggle or function in any other useful way. The patch (as it stands) is below:

I imagine there's something really obvious I'm missing. If anyone can point this out, I'd really appreciate it.

Cheers!

Oli Mason's icon

Morning,

Cant see your patch because im at work, so could be way off.....but

The pads could be sending out a 'control MIDI messages' rather than the 'MIDI note messages' that you are expecting.

try using the 'ctlin' object, it gets all the data from your knobs, faders, pads etc.

If thats no good ill check the patch out later when i go home and try and repost.

All the Best,

Oli

rossco242's icon

Thanks for dodging your work to help! I didn't have any luck with ctlin...I can get the controller to trigger a button when I connect it - via route - but it's not having any effect on the toggle. Having said that, if I connect the right outlet of route to the button, the toggle will work when I click any of the pads (other than the one I've routed) - which is, I guess, what it's supposed to do. But...I just want to have a specific pad routed.

Anyway, it's not easy to put into words, so hopefully you'll have better luck when you see the patch.

Many thanks in advance!

Ross

Oli Mason's icon

Hi,

I will post a patch to you around 12ish,

Regards,

Oli

LiamCormacGould's icon
Max Patch
Copy patch and select New From Clipboard in Max.

here's what I did when I used an LPD8:

Oli Mason's icon

This does what you have asked.

let me know if you need something else;

Regards,

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

Oli

rossco242's icon

Hi guys,

Oli - I see it was the sel object I should have been using - that's made everything much clearer now. Thanks for your time!

Liam - thanks for the patch...that's saved me figuring out the next step of routing the individual dials.

Much appreciated!!

Cheers,
Ross

Wetterberg's icon

your problem was the routing you'd done with the number boxes, actually - effectively doubling the message, so it would turn on then off again immediately.

rossco242's icon

Ah, OK thanks. That explains a lot!