AKAI APC mini - Button-LED

User avatar
mcallegari
Posts: 1899
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Re: AKAI APC mini - Button-LED

Post by mcallegari » Mon Sep 14, 2015 10:19 pm

Veaceslav22 wrote: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.
No, I will not build a custom version for the APC.
I want to find a solution that makes everyone happy and have a unified QLC+ version.

Veaceslav22
Posts: 8
Joined: Sun Sep 13, 2015 3:34 pm
Real Name: Veaceslav

Re: AKAI APC mini - Button-LED

Post by Veaceslav22 » Sun Sep 20, 2015 8:04 pm

Hello, somebody has made the installation file dmg that works with APC mini, sorry that I can not use a controller with backlight.

msccd
Posts: 7
Joined: Sat Jul 25, 2015 10:44 pm
Real Name:

Re: AKAI APC mini - Button-LED

Post by msccd » Wed Oct 14, 2015 9:48 pm

Maikel Boerebach wrote: This is the part I have changed in lines 138 to 145:

else if (channel >= CHANNEL_OFFSET_NOTE && channel (channel - CHANNEL_OFFSET_NOTE);
*data2 = DMX2MIDI((value==0) ? 3 : value);
}
In the 6th line "3" represents the midi-value for the On state. When you play with these you can change the colors to green,red,amber(orange). And you can choose to let the LEDs flash. In the other thread i have posted a text-file which describes which values you need to get certain colors.
For your convenience i have also attached the midi protocol.cpp file.
Hi Maikel,

thank You very much for Your work. I used Your midiprotocol and it worked fine on the mac (to be honest it's a virtual machine I set up for compiling). Now I was up to create the dmg file to install it on my macbook, which will be the machine where I'll work with QLC+.
I followed the HowTo at https://github.com/mcallegari/qlcplus/w ... uild-HOWTO , but I got errors. Some framework-files have been missed. I got em out of the installed QLC+ Version (downloaded the original install-dmg), but there ist still one file missing:

Code: Select all

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: /Users/admin/QLC+.app/Contents/Frameworks/QtSerialPort.framework/Versions/5/QtSerialPort (No such file or directory)
make[1]: *** [install_LIBQTSERIALPORT_ID] Error 1
make: *** [sub-macx-install_subtargets-ordered] Error 2
Installation error. Aborting package creation.
Now I wonder where i can get the missing files from, because even in a "normal" installed QLC+.app is no QtSerialPort included. Could someone help me out please?

Just in case You need to know what I've done, here my HowTo:
1. set up new and clean OS X Yosemite VMware just for the compiling
2. installed latest versions of apple Xcode via appstore, command line tools, QT and MacPorts
3. Port-Update

Code: Select all

sudo port selfupdate
sudo port install libftdi0 pkgconfig libmad libsndfile portaudio liblo fftw-3 ola
4. Download latest QLC+ sources

Code: Select all

git clone git://github.com/mcallegari/qlcplus.git
5. replaced the midiprotocol.cpp with Maikel Boerebach's version
6. building [EDIT mcallegari] WRONG

Code: Select all

export PATH=$PATH:/users/admin/Qt/5.5/clang_64/bin
cd qlcplus
qmake -spec macx-g++
make
7. install

Code: Select all

make install
8. make dmg

Code: Select all

./create-dmg.sh

User avatar
mcallegari
Posts: 1899
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Re: AKAI APC mini - Button-LED

Post by mcallegari » Wed Oct 14, 2015 9:48 pm

msccd wrote:thank You very much for Your work. I used Your midiprotocol and it worked fine on the mac (to be honest it's a virtual machine I set up for compiling). Now I was up to create the dmg file to install it on my macbook, which will be the machine where I'll work with QLC+.
APC devices and LED colors are now supported out of the box by QLC+.
Check this out: viewtopic.php?f=5&t=9016

By the way, the build instructions you posted are wrong.
I'm not surprised QLC+ can't find the Qt libraries.
My instructions are correct, but apparently it seems you haven't followed them. Surely not when it says "If you see any errors, please report it in the QLC+ forum (development forum)."

Also, it is useless to do make/make install and then create-dmg.sh. If you had a look at that script, you might have found that it does make distclean/qmake/make/make install/DMG creation

msccd
Posts: 7
Joined: Sat Jul 25, 2015 10:44 pm
Real Name:

Re: AKAI APC mini - Button-LED

Post by msccd » Wed Oct 14, 2015 9:48 pm

mcallegari wrote: APC devices and LED colors are now supported out of the box by QLC+.
Check this out: viewtopic.php?f=5&t=9016
I just give it a try! Thank You very much!
mcallegari wrote: By the way, the build instructions you posted are wrong.
I'm not surprised QLC+ can't find the Qt libraries.
My instructions are correct, but apparently it seems you haven't followed them. Surely not when it says "If you see any errors, please report it in the QLC+ forum (development forum)."
Also, it is useless to do make/make install and then create-dmg.sh. If you had a look at that script, you might have found that it does make distclean/qmake/make/make install/DMG creation
Sorry, my fault. I must have missed that. I tried so many ways and instructions, that I must have mixed them up. Sorry again.

Terek4
Posts: 7
Joined: Wed Jan 04, 2017 6:29 pm
Real Name: Paweł Taraszkiewicz

Re: AKAI APC mini - Button-LED

Post by Terek4 » Sat Aug 05, 2017 9:42 pm

Hi,
Any final easy way how to set AKAI APC mini to buttons (on/off) works correctly?

hutje
Posts: 41
Joined: Tue Nov 24, 2015 6:10 pm
Location: The Netherlands
Real Name: Robin

Re: AKAI APC mini - Button-LED

Post by hutje » Sat Aug 19, 2017 8:34 pm

I am wondering too...:-(

hutje
Posts: 41
Joined: Tue Nov 24, 2015 6:10 pm
Location: The Netherlands
Real Name: Robin

Re: AKAI APC mini - Button-LED

Post by hutje » Sun Aug 20, 2017 12:37 pm

Found an solution. When you give the value 1, it turns off... Probably because of the 127 value and the 255 value...

Found a solution on a forum from Ableton: https://forum.ableton.com/viewtopic.php?f=1&t=209604
So if anyone is interested here is the mapping.

Pads: from left to right and lowest to highest row.
These are notes:
Row1: 0-7
Row2: 8-15
Row3: 16-23
Row4: 24-31
Row5: 32-39
Row6: 40-47
Row7: 48-55
Row8: 56-63

The velocity values for the different lightings are:
00:off
01:green
02:green blink
03:red
04:red blink
05:amber
06: amber blink
07-127: green

The extra button row on the bottom left to right:
64-71
the extra button column on the right: top to bottom
82-89
The velocity values for the different lightings are:
00:off
01:red
02:red blink
03-127: red

The shift button is note 98. I could not get it to light up.

Post Reply