Match Ableton Clip Color to reflect as LED state on MIDI Pads for Akai APC40 MK2

5.74K viewsCSS Feature Requests
0

A lot of use on the forum are asking for this feature. We want the Akai APC40 MK2 PADS to light up based on the clip color of the Ableton clip that gets loaded on that PAD.

why did you choose to only go with 3 states for LED feed back? what are you going to implement so that we have LED color matching to clip color on Ableton?

we bought and purchased CSS with the idea that MIDI Mapping would go by a lot faster with your tool you created, so far it’s been more of a hassle trying to get your program to work appropriately mainly because the APC40 has 3 modes like MCBeats has mentioned on multiple forum posts and responses.

MCBeats has even provided the solution to set the modes (giving us a template ready for you to update on your program so that it’s easier on the users to choose between modes (mode 0, 1, and 2).

david_acosta000 Answered question
Attached Files:
0

Here’s a first update:

I created a few Reactions that work similar to yours for moving the Session Box up an down with repetition on long press. On my setup, the Clip Colors weren’t changing at all (i.e. they were stuck in the colors of the first position of the session box).

What could be the problem?

My thoughts about it are that the Listener that listens to the movement of the Session Box only reacts to the Mappings provided by CSS. The Reaction that should update the colors uses this Listener.

Possible fix

We could try changing the Listener to one that listens to a modifier being updated. For example:

We’d set a Modifier to 1. Each time the session_box position is changed, we multiply the value of that modifier by -1. So, the value will change between 1 and -1 with every position change, which would trigger the Listener.

I’ll try it tommorrow.

EDIT:

Also, while looking through my old code, I noticed there’s a Reaction that sets Modifiers m1 and m2 but nowhere in the code are these Modifiers being used. They might be artifacts from earlier versions. Maybe I can clean it up a little.

Glenn V. Posted new comment

First test looks promising. The colors update, even while holding down the button. However, sometimes an error occurs now, caused by the Reaction ‘Set Modifiers m1 and m2’. The error happens when selecting a clip within the session box. In Ableton it then shows the message “Removed mode: Mode 1”, which is strange.

I’ve now realised these modifiers are being used by a “Clip has changed” listener to update the colors when you change a color within the session box, so I can’t disable it without losing that functionality.

Another update:
The error I wrote about doesn’t seem to occurr with the code you got from ChatGPT. I had used another way to simulate the up and down movement; it did that but didn’t work well with the Clip Colors Reaction.

So, at the moment, I think I got it to work. I think I’ll be able to deliver it by the end of the week.

You are viewing 1 out of 16 answers, click here to view all answers.