Page 1 of 2

AKAI APC mini - Button-LED

Posted: Tue Dec 30, 2014 11:57 am
by Massimo Callegari
Translation: "To Massimo Callegari: is it possible to solve the issue that is now known and solved with a patch or an update ? I am repenting I bought the only controller that doesn't work as it should !"

Ronnie, I am not gonna have a private conversation with you about the APC (which I don't even own btw), so please stop bugging me with private emails, private messages on Sourceforge and messages in italian here.
This is not your personal answering machine. This is a public and international forum where everyone write in english - even if they are italians.

Moreover you didn't get the point of this whole thread (and the original one). The Akai APC has a specific functionality that most of the other MIDI controllers don't have, so including this change would make few users happy and a lot more users unhappy as it breaks feedbacks on other devices (like BCF2000)

AKAI APC mini - Button-LED

Posted: Tue Dec 30, 2014 12:07 pm
by Massimo Callegari
To Maikel, Joep, Alessandro and Jano: the only way to bring this upstream is to bind this behaviour to the input profiles. So basically users can specify a (global?) setting and define the feedback MIDI values to be sent.

I am a bit confused though regarding the 'off' state. I understand LEDs can have 3 or 4 colors, but what about if I want to completely turn off a button ?
I found weird that MIDI value 0 doesn't do it, especially because 0 is supposed to be the "factory default" value when you turn the device on.

So, anyone can please explain and come up with a constructive proposal of how we can implement this without breaking other devices ?

AKAI APC mini - Button-LED

Posted: Tue Dec 30, 2014 7:11 pm
by Ronnie Roselli
Dear Massimo, usually when I receive a private message, i always answer, receiving no reply, I thought you did not read or received.
I took the liberty to write you privately just because I had an urge to work and I'm sorry that with my two private messages I disturbed ...
However I have solved my problem, now it works perfectly!

AKAI APC mini - Button-LED

Posted: Wed Dec 31, 2014 6:28 pm
by Maikel Boerebach
I can't really tell you why a velocity value greater than 0 needs to be sent. I guess it is something hardware-related. I agree with your proposal to attach the output to the midi-input profile. I would suggest making different classes inside the midiprotocol.cpp which are then called by choosing the appropriate profile in the dropdown menu.

AKAI APC mini - Button-LED

Posted: Wed Dec 31, 2014 6:29 pm
by Maikel Boerebach
I don't really know what you mean by a function being attached. Only buttons mapped to a function in Virtual Desk are lit in colors and the ones not mapped are simply blank.

AKAI APC mini - Button-LED

Posted: Fri Jan 02, 2015 5:09 pm
by Alessandro Grechi
Yes, that is what I meant, sorry!.
I've just tried your mods with my APC20 and I can confirm that WORKS as expected! :)
Buttons mapped to a function which is not running are lit in red, the others are off.
Just wow! Thanks!

I noticed that this is working well only in the main "clip launch" section. With the others (clip stop, navigation...) the lit is always green.

AKAI APC mini - Button-LED

Posted: Mon Jan 19, 2015 6:35 pm
by Adrian Kapka
Hi
Sorry for my English, I use google translate.

* data2 = DMX2MIDI ((value == 0)? 3: value);

The solution with the change to "3" is ok, but only for 8x8 buttons. Other buttons have only one color for the ON value of 1-127. I suggest change to "0"

* data2 = DMX2MIDI ((value == 0)? 0: value);

The buttons then lit on green or red when they are ON, and go out when they are turned off.

Sincerely
Adrian

AKAI APC mini - Button-LED

Posted: Fri Mar 06, 2015 11:20 am
by Joep Admiraal
Hi Massimo,

The APC communications protocol document states we should use note on/off messages to control the LED's. A note on message with a velocity of 0 can be used to turn the LED off, but a note off message is preferred. See page 8 of the attached document.

AKAI APC mini - Button-LED

Posted: Fri Mar 06, 2015 11:27 am
by Joep Admiraal
Please ignore this post, the APC mini seems to work a bit different than the APC20/40. Which seems weird because the documentation of the APC40 mk2 also states we could use velocity 0. I think the mk2 is the same generation as the mini so I would expect them to behave the same.

Re: AKAI APC mini - Button-LED

Posted: Wed Sep 09, 2015 1:07 pm
by waggod
Hello there,

can please someone upload a 4.9.1 Windows Version where the "Midi-Patch" is included?
It would be great. :-)

Re: AKAI APC mini - Button-LED

Posted: Sun Sep 13, 2015 3:44 pm
by Veaceslav22
Hello everybody. I have the same problem, and I can not solve it. I've done both in the instructions https://github.com/mcallegari/qlcplus/w ... uild-HOWTO, but when it comes to make the program
(cd qlcplus
qmake -spec macx-g++
make),
my terminal fails. Anybody can create a file .dmg with modified file midi protocol.cpp for Mac OS? Or please write in detail how to do this operation on Mac OS. Thank you

Re: AKAI APC mini - Button-LED

Posted: Sun Sep 13, 2015 4:08 pm
by Veaceslav22
This is error of my terminal:
(MBP-Veaceslav:qlcplus Veaceslav$ qmake -spec macx-g++
-bash: qmake: command not found)

Re: AKAI APC mini - Button-LED

Posted: Sun Sep 13, 2015 7:00 pm
by plugz
qmake: command not found
qmake is part of the Qt framework, are you sure you've installed it properly ?

Re: AKAI APC mini - Button-LED

Posted: Sun Sep 13, 2015 8:02 pm
by Veaceslav22
I installed Qt, but these commands I entered in the terminal. It is not right? Please write the whole procedure how to do and what software. Or if you can, please send me a reworked version of QLC with changed protocol.
Unfortunately I'm not a programmer, so please explain in detail how to make, or please send me finished file dmg to my e-mail 7751213@gmail.com. Thank you so much
Sorry for my english, i use translate

Re: AKAI APC mini - Button-LED

Posted: Sun Sep 13, 2015 10:17 pm
by Veaceslav22
I tried to build the project using QT, the program gives me this error :
Neither libftdi-0.X nor libftdi-1.X found!

Re: AKAI APC mini - Button-LED

Posted: Mon Sep 14, 2015 1:37 pm
by janosvitok
I'm thinking that if I find some time I may implement config file setting for MIDI plugin that will do this.

Re: AKAI APC mini - Button-LED

Posted: Mon Sep 14, 2015 1:37 pm
by Veaceslav22
janosvitok wrote:I'm thinking that if I find some time I may implement config file setting for MIDI plugin that will do this.
Thank you very much

Re: AKAI APC mini - Button-LED

Posted: Mon Sep 14, 2015 1:37 pm
by Ovis
Veaceslav22 wrote:
janosvitok wrote:I'm thinking that if I find some time I may implement config file setting for MIDI plugin that will do this.
Thank you very much
That would be great :)

Re: AKAI APC mini - Button-LED

Posted: Mon Sep 14, 2015 1:37 pm
by mcallegari
janosvitok wrote:I'm thinking that if I find some time I may implement config file setting for MIDI plugin that will do this.
I agree on having this feature.
Apparently this is a hot topic and in these days I was thinking to contact Joep to understand precisely what are the needs of who uses the AKAI APC devices.
Basically I suppose one wants to send feedbacks to the APC with precise MIDI values to light a specific color of a button.
If this is what is required, we can probably act at the input profile level.
Basically a special case only for buttons where 0 is always feedbacked as 0 and 255 can be customized to a specific value. (or even better both customizable)

Is this what you guys need ?

Re: AKAI APC mini - Button-LED

Posted: Mon Sep 14, 2015 10:19 pm
by Veaceslav22
What we need is to have the controller button with led lights works. They have three colors. Let the red is off, green on, even be true. Then it is clear what the scene on, which are not. So users like me, not programmers, it is difficult to do. You could make a QLC+ version specifically for Akai APC Mini, it would be very nice and would all be grateful.