MaxMsp + MPC2 Software + APC40 MK2

Mina Voigt's icon

Hello,

I own the MPC2 software (and an MPC Live II) and want to add the APC40 mk2 for extra haptical control surface to my live set up. So essentially I want to be able to control the MPC software with the APC and get visual LED feedback on the APC. (I am using the clip launch pads on the APC in the Track Mute view of the MPC software to trigger tracks on and off).

When plugging in the APC to the computer I can MIDI map it to the MPC2 software but I do not get an LED feedback on the pads.

To regain the LED feedback I decided to build a Max8 patch that lets the pads light up as they are pressed.
(my very first, I aplogise in advance for the mess!)

Nevertheless, the LED feedback patch from Max8 and the MPC 2 software are not in sync as they are not communicating with each other at this moment.

So far the signal flow:

APC -> MPC Software
+
APC -> MAX

With this patch I am able to change the color of each pad in the max patch (e.g. orange when track is playing, blue when it is off) . But it would be amazing if Max could receive information directly from the MPC software that tells it if a track is on or off and change the color according to that input.

** another idea of mine was to send the APC -> MAX MSP -> MPC software (so the MPC software gets its controls from MAX) that did work, BUT then suddenly I had to press every button twice to turn the Tracks off os again they were completly out of sync

I am now trying a signal flow in which the MPC software is supposed to send the information about the tracks (if they are on or off) back to the MAX8 patch that then lets the APC LEDs light up depending on if a track is on or off.
To do this I have activated the "to Max" output port in the MPC software.

Attempted Signal flow:
APC -> (sending in on input APC40 mk2) -> MPC software -> (sending out on midi output "to max 1" ) -> MAX MSP (here I have a notein object that is set to receive midi from the "to max1" input)

Nevertheless in MAX I do not get any midi information I can use.

I posted the same thing in the Akai forum, there I asked if anyone knows what messages the MPC software sends out on its output ports.
Here I would like to just ask - what have I missed? Or, is what I want to do impossible?

I included my patch, I hope it is not too messy I like to use the comments a lot^^

Thank you very much in advance!

MAXAPCMPC.maxpat
text/plain 72.73 KB