Controlling Akai MIDI Mix LEDs

felipe vaz's icon

After struggling to control the leds in my Akai MIDIMix (cheap control surface with 9 faders and 24 knobs), I managed to do it thanks to an unofficial communication protocol I found here.

This is the test code if anyone wants it, any contributions are more than welcome.

midimix-lights2.maxpat
Max Patch

Ian Currie's icon

Felipe, thank you so much for making this patch.
But I can't get it to work. I am using it within Ableton Live. It is communicating with my MIDImix. When it starts up it lights up all the buttons, but no matter what I do, I can't get the lights to turn off again.
I want to use it to control sends (toggle off and on), and could really do with the lights to indicate whether they are activated or not.

Reinier Verhard's icon

Hi Felipe,

Thanks you very very much for making this patch. I would like to have this as a working .amxd file to work with Ableton, would you be interested in helping me out? I'll buy you a coffee. :-)

lucas's icon

has anybody found a solution for this problem ?

Source Audio's icon

That Akai docs say one needs to use raw midi message

144 = status byte for note on channel 1

note number

velocity > 0 to turn Led On, 0 to turn Led Off.

But Live does not send note off as 144 nn 0,

but 128 nn 64 (raw midi for note off with release velocity)

dead end

sousastep's icon

I had a similar issue while trying to control LEDs on an Electrix Tweaker. It required note-off to turn off the LEDs, but Live converts note-off to note-on velocity zero ;~;

Source Audio's icon

it is the opposite, Live converts note on with velocity zero (required for AKAI LEDs off)

to note off with release velocity.

144 48 0 becomes 128 48 64

At least it is so since version 10.

lucas's icon

ok i see. but i don't understand why it's possible to make it work in max standalone (as in felipe's patch above), but not max for live? is it something about how ableton deals with midi ? why can't i send raw midi to the akai with a M4L device ?

felipe vaz's icon

I'm not using this controller anymore, but I would try to write a small standalone max app as a middleman "translator", and send Ableton's midi data through it as an external instrument.

Source Audio's icon

All was explained twice, note off can be either note on with velocity 0

(which is what your AKAI needs)

or note off with release velocity which ableton sends.

if you are windows user, try midiox as translator in between,

on mac easier with little max standalone as Felipe suggested.

If you use Intel cpu, wether mac or windows,

another option is to use imp.midiout to send what you want from live.

test here :

imp_midi.amxd
amxd


shot of live 11, Intel Mac midi sent to Max