Page 2 of 3

Akai APC Mini Led Output not working properly

Posted: Tue Sep 23, 2014 2:47 pm
by Maikel Boerebach
Thank you guys for the quick responses, I was starting to get really frustrated. Unfortunately my Terminal still pops up some error messages after 15 minutes of compiling..
Undefined symbols for architecture x86_64:
"ola::StringTrim(std::string*)", referenced from:
ola::QLCLogDestination::Write(ola::log_level, std::string const&) in qlclogdestination.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libolaio.dylib] Error 1
make[1]: *** [sub-ola-install_subtargets] Error 2
make: *** [sub-plugins-install_subtargets-ordered] Error 2

I should mention that earlier today i have installed QLC from the image and wasn't able to start it, because it kept crashing while loading OLA. I then googled a bit and removed the file "libolaio.dylib", after which QLC managed to startup properly. Is this somehow connected? I have not altered the files in the GIT-repository in any way, so i don't know if it is connected.

Akai APC Mini Led Output not working properly

Posted: Tue Sep 23, 2014 2:58 pm
by Jano Svitok
Maikel, you are a brave man, since you are most probably the first one that tries to compile QLC+ with clang :)

To disable OLA plugin, go to plugins/plugins.pro and comment out (prepend #) this line:

unix:SUBDIRS += ola

To make git ignore this change, issue this command:

git update-index assume-unchanged plugins.pro

in that directory.

If you need OLA plugin most probably you'll have to compile OLA from sources... did you follow https://github.com/mcallegari/qlcplus/w ... uild-HOWTO ?

especially "qmake -spec macx-g++"

Akai APC Mini Led Output not working properly

Posted: Tue Sep 23, 2014 3:09 pm
by Maikel Boerebach
Thanks again for the advice. I have followed the instructions except for the "qmake -spec macx-g++". I have done that now and it is compiling right now. I do not understand what you mean with git ignoring the change. Do i need to enter this while i'm in the plugins directory or the one above?
I am starting to think i am incapable of understanding the instructions of the Howto :D

Akai APC Mini Led Output not working properly

Posted: Tue Sep 23, 2014 3:23 pm
by Jano Svitok
If you change the plugins.pro file, git will refuse to pull new changes until you commit the file. If you issue the line above in the plugins dir (where the plugins.pro is) then it will ignore the changes and will not complain about uncommitted changes. Obviously, if you did compile OLA, then there's no need to edit plugins.pro and no changes to ignore.

Akai APC Mini Led Output not working properly

Posted: Tue Sep 23, 2014 4:01 pm
by Massimo Callegari
I've compiled with clang before ;)
And before me Simon Newton of OLA did.
It is the default compiler when you build on Qt5 on OSX.
I was aware of this build issue but never fixed it on git cause it was working with GCC and Qt 4.8

Akai APC Mini Led Output not working properly

Posted: Tue Sep 23, 2014 8:26 pm
by Maikel Boerebach
I can't thank you enough for the help! I have finally managed to compile it and after testing the two options you gave me it is now finally working. Removing the two lines did the trick.
I will now try to find out how I get a multiple color output. I know that I need to change the velocity levels to make the colors change so I will try that tomorrow, and report back.

Akai APC Mini Led Output not working properly

Posted: Wed Sep 24, 2014 9:52 am
by Maikel Boerebach
Good morning, i have now managed to create a bi-color LED feedback by using Janos' 2 propositions inside the file. I found out which Velocity Value was needed to address different Colors on the APC Mini and have now managed to have the output LEDs Red when the functions are OFF and green for ON. The Novation Launchpad does also work flawlessly with this setup, it should however be noted, that the color in OFF is red and in On yellow. I am really happy about this solution, as it will probably work for many other Controllers with RGB-LEDs. I was starting to think, that it would be much more helpful, if this settings could be called inside QLC by integrating this inside the profile section, so that every controller can have its' own unique color pattern according to its specifications. But i guess that would be a project for the future. Anyways I'd like to thank everyone who helped me figure this out, since I would have never been able to do so.
Cheers,
Maikel
P.S.: I have created the profiles for the APC Mini as well as the Launchpad. If needed i can upload them, so that they can be integrated into future versions of QLC.

Akai APC Mini Led Output not working properly

Posted: Wed Sep 24, 2014 10:28 am
by Massimo Callegari
Hello Maikel, glad you made it !
Yes please, share the APC Mini profile here so we can add it upstream

Akai APC Mini Led Output not working properly

Posted: Wed Sep 24, 2014 11:26 am
by Maikel Boerebach
Here you go.

Akai APC Mini Led Output not working properly

Posted: Fri Sep 26, 2014 3:08 pm
by Maikel Boerebach
I can also confirm that the Korg nanoKontrol2 still has a fully functional LED feedback (red only since it has no RGB-LEDs) after the changes I've made ;-)
I will try using a bunch of other controllers I have lying around so you guys know which controllers are still capable of LED feedback.
Cheers

Akai APC Mini Led Output not working properly

Posted: Fri Sep 26, 2014 3:21 pm
by Massimo Callegari
Hello Mikael, thank you very much for the profiles.
Unfortunately I cannot merge them as they are in german.
Can you please tell me the meaning of "Schieberegler" and "Schalter" ?

Thanks

Akai APC Mini Led Output not working properly

Posted: Fri Sep 26, 2014 3:31 pm
by Massimo Callegari
OK, got them. Would it make sense to give each channel some more meaningful names ?
Like "Button 1-1" "Button 1-2" considering rows and columns.
Maybe taken from the product manuals ?

Akai APC Mini Led Output not working properly

Posted: Sat Sep 27, 2014 5:49 am
by Jano Svitok
Maikel,

1. how about the midi template that Joep sent you (APCmini.qxm)? Is it needed?
Should we add it to the installation?

2. What values belong to what colors? Can you make the LEDs work without recompiling QLC+?

Akai APC Mini Led Output not working properly

Posted: Sat Sep 27, 2014 8:10 am
by Maikel Boerebach
Hi Jano,
1. I can confirm that the qxm file is not needed for the apc to function properly.
2. I don't quite understand what you mean, I can make a table of what the apc needs to receive in order to show certain colors and blinking. What do you mean with getting it to work without recompiling?

Akai APC Mini Led Output not working properly

Posted: Sat Sep 27, 2014 8:12 am
by Maikel Boerebach
Hi Massimo, I will take care of it and upload it tomorrow.

Akai APC Mini Led Output not working properly

Posted: Mon Sep 29, 2014 6:54 pm
by Massimo Callegari
Hi Maikel, any update on this ?
I am about to release a new QLC+ version and I'd love to have the final versions of those 2 profiles.

Thanks !

Akai APC Mini Led Output not working properly

Posted: Mon Sep 29, 2014 7:13 pm
by Jano Svitok
2: you said you have changed the lines as I told you. That means plain vanilla QLC+ might not work for you, if you don't apply these changes. Do you need them?

Table would be nice, of course :)

Thanks!

Akai APC Mini Led Output not working properly

Posted: Wed Oct 01, 2014 10:30 am
by Maikel Boerebach
I've finished the mapping for the Launchpad with the labelling you suggested, since there is no official label for the launchpad in the product manuals. I will update the Apc Mini as well in the next few days.

Akai APC Mini Led Output not working properly

Posted: Wed Oct 01, 2014 10:38 am
by Maikel Boerebach
Sorry for the late reply, I had a fwe days without an internet connection... I can confirm that the APC Mini needs the changes to function properly, because the buttons will stay lit once pressed and will not reset itself(plug out and in again). The Launchpad and the Korg work fine with the original qlc+, but if someone like me wants to have the buttons of the launchpad and the apc mini light up in two different colors for On and Off you need to apply the changes you suggested. The original QLC+ only lights up the buttons of the Launchpad in yellow for On and no color for Off. This is not a problem, but more like a waste of potential with these kinds of RGB controllers. I am working on the table of both controllers for future reference.

Akai APC Mini Led Output not working properly

Posted: Fri Oct 03, 2014 9:12 am
by Maikel Boerebach
Here is the final version for the APC Mini