APC Mini LED Feedback. Hilfe!

0
0

Hey ich bräuchte mal Hilfe. Wie so oft geht es um den LED Feedback. Wie schaffe ich es, dass mein Button in Farbe 1 leuchtet wenn er “aktiviert” ist und in Farbe 2 wenn er “deaktiviert” ist.

Also 1 mal drücken grün, zweites mal drücken gelb

 

Die Velocities für die jeweiligen Farben sind mir bekannt, aber ich weiß es nicht umzusetzen. Vielleicht hat einer nen Tip

 

Es handelt sich um das Akai APC Mini

Marked as spam
Posted by (Q&A Forum: 2, Answers: 0)
May 15, 2017 9:03 pm
458 views
0
Private answer

Hi, I did a bit more work for another user on these a few months ago. Below is a project that I believe will achieve your desired results.

I use the global variables g1 and g2 to control 64 lights. To save on global variables, I set them up to be a bit map of the buttons on your APC Mini.  Each global variable uses 32 bits so I am able to achieve two states (on or off) using 2 global variables.  I use bit manipulation to extract the current value. The work with toggling the button states is in preset APC Mini Light Control Translator Toggle Light with button.

We extract the button’s current state, toggle it, then stuff it back into the global variable.

When we are done, we do trigger a light refresh timer which iterates through all 64 lights putting them to their current state. This is done in the same preset under the translator “Light Refresh Timer”.

 

We set the initial state of lights when the project is open or the ESC key on you computer keyboard is pressed. See the “Init” Preset.

I know this might seem a little advanced, especially the bit mapping (extraction and stuffing) so feel free to ask more questions if you have them.  If you want to control only a few lights then maybe bit mapping wouldn’t be needed because each light would take it’s own global variable.

For instance if you wanted button note 0 (lower left corner to toggle state you could control with ga as such):

input ;  note 0 on channel one value 127

 

rules:

ga=ga^1

// set to green

if ga==1 then qq=127

// Set to yellow

if ga!=0 then qq=5

 

Output: Note on note 0 velocity qq

Attached is the more complex mapping using bitmap and the main 64 buttons of the APC Mini.

Marked as spam
Posted by (Q&A Forum: 27, Answers: 1892)
February 1, 2018 8:29 pm
1
Private answer

I found this additional info on the APCmini

Attachments:
Marked as spam
Posted by (Q&A Forum: 27, Answers: 1892)
May 15, 2017 10:02 pm
0
Private answer

Hi, English please on this board. Here is your original question through google translate

Hey, I need help. How often is the LED feedback. How do I make it that my button in color 1 is lit when it is “activated” and in color 2 when it is “deactivated”.

So press green 1 times, press yellow twice

 

The velocities for the respective colors are known to me, but I do not implement it. Perhaps has a NEN tip

 

It is the Akai APC Mini


I found this on the APC40 which may be similar to the APC mini, but you should probably check the manual to see if there are any differences.


http://forum.djtechtools.com/showthread.php?t=38782

APC40 Midi Mapping Documentation and Resource
Hope this will help. I will be creating a Youtube walkthrough series on how to map different type of LED adn Rings.

Type of LED Functions.
0=off,
1=green,
2=green blink,
3=red,
4=red blink,
5=yellow,
6=yellow blink,
7-127=green,

Type of LED Ring Functions
0=off,
1=Single,
2=Volume Style,
3=Pan Style,
4-127=Single

Ring LED Just add + 8 to the current CC#.

 

Steve

bome@sniz.biz

Independent Bome Programming Specialist and Bome Q&A moderator

 

Marked as spam
Posted by (Q&A Forum: 27, Answers: 1892)
May 15, 2017 9:54 pm

He wants to implement a toggle: each time a button is pressed, it toggles from green to yellow and vice versa.

( at February 1, 2018 4:31 pm)