# Help needed/ Traktor mapping/ Apc40mk2/ Difficulties to map leds outs for loops

**URL:** <https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838>\
**Category:** Controller Mappings\
**Created:** [January 12, 2018, 10:47am UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838 "2018-01-12T10:47:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yul](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/yul/32/13542_2.png) [@Yul](https://forum.djtechtools.com/u/Yul)\
**Post date:** [January 12, 2018, 10:47am UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838/1 "2018-01-12T10:47:56Z")

</div>

**Help needed/ Traktor mapping/ Apc40mk2/ Difficulties to map leds outs for loops**

Hey guys,  
I’m try to help a fellow traktor user and after a bit of time on it I don’t find the solution.

On a apc40mk2, trying to map loops for 4 buttons (length values 2,4,8,16).  
The mapping for loops should be ok, but I can’t make the leds to work properly.  
The intended behaviour should be as following:

- loop active off; leds should be green
- loop active on: the selected lenght/button should be red, all the others green.

Could someone pinpoint me in the right direction please, there’s something I obviously missed.  
Here’s what I’ve done as an example for the two first buttons (loop 2 & 4)

_First button_  
_(in commands)_  
_add in/deck command/loop/loop size select + set_  
_learn the first button you’ll use for a 2 beat loop_  
_modifier condition is “is in active loop”/ deck A / set the value to 0_  
_set it as a button/ direct_  
_assignment deck A_  
_direct set to value 2_  
_add in/ deck command/loop/loop size selector_  
_learn the button_  
_modifier condition is “is in active loop/deck A/ set value to 1”_  
_assignment deck A_  
_direct set to value 2_  
_add in/ deck common/loop/loop active on_  
_learn the same first button_  
_modifier condition is “is in active loop”/ deck A/ set the value to 1_  
_set it as a button / direct_  
_assignment deck A_  
_set to value 0_  
_add in/global/send monitor state_  
_learn the same button_  
_tick the invert option_  
_Check now if setting a 2 beats loop works, on and off._  
_(out commands)_  
_add out/deck common/loop/loop size selector_  
_learn the button_  
_modifier condition: is in active loop/deck A/set the value to 0_  
_assignment deck A_  
_untick the blend option._  
_duplicate that command 10 times so you have 11 (out) commands._  
_learn the button for all those out commands._  
_now in the following order of the command add those specifications both for led options, and modifier conditions (MC) “is in active loop” for deck A_  
_0-0/21-21 (green when 1/32) mc=1_  
_1-1/21-21 (green when 1/16) mc=1_  
_2-2/21-21 (green when 1/8) mc=1_  
_3-3/21-21 (green when 1/4) mc=1_  
_4-4/21-21 (green when 1/2) mc=1_  
_5-5/21-21 (green when 1) mc=1_  
_6-6/5-5 (red when 2) mc=1_  
_7-7/21-21 (green when 4) mc=1_  
_8-8/21-21 (green when 8) mc=1_  
_9-9/21-21 (green when 16) mc=1_  
_10-10/21-21 (green when 32) mc=1_  
_Create a new the output command deck common/loop/loop active on_  
_Learn the button_  
_Modifier condition is “is in active loop”, deck A , =0_  
_Set the led options to controller range 0-0 and midi range 21-21_  
_Check "physically " by using your button on/off if it works and if the led behavior is correct._  
_Now to be sure, using your mouse, set loops on and off for different values. if everything is correct your button should be green all the time apart when it’s an active 2 beat loop where it should be red (whether it has been activated either by using the button or mouse in the software)._  
_—_  
_Now we’re going to do the same for your second button (4 beats loop). Please note that if you’re comfortable enough you can just duplicate all the above commands and make the necessary adjustements. Howver I personnaly think here in this case it can be quickly confusing and opens room for mistake so I prefer to do it again fully._  
_Second button_  
_(in commands)_  
_add in/deck command/loop/loop size select + set_  
_learn the second button you’ll use for a 4 beat loop_  
_modifier condition is “is in active loop”/ deck A / set the value to 0_  
_set it as a button/ direct_  
_assignment deck A_  
_set to value 4_  
_add in/ deck command/loop/loop size selector_  
_learn the button_  
_modifier condition is “is in active loop/deck A/ set value to 1”_  
_assignment deck A_  
_direct set to value 4_  
_add in/ deck common/loop/loop active on_  
_learn the same second button_  
_modifier condition is “is in active loop”/ deck A/ set the value to 1_  
_set it as a button / direct_  
_assignment deck A_  
_set to value 0_  
_add in/global/send monitor state_  
_learn the same button_  
_tick the invert option_  
_Check now if setting a 4 beats loop works, on and off._  
_(out commands)_  
_add out/deck common/loop/loop size selector_  
_learn the button_  
_modifier condition: is in active loop/deck A/set the value to 0_  
_assignment deck A_  
_untick the blend option._  
_duplicate that command 10 times so you have 11 (out) commands._  
_learn the second button for all those out commands._  
_now in the following order of the command add those specifications both for led options, and modifier conditions (mc) “is in active loop” for deck A_  
_0-0/21-21 (green when 1/32) mc=1_  
_1-1/21-21 (green when 1/16) mc=1_  
_2-2/21-21 (green when 1/8) mc=1_  
_3-3/21-21 (green when 1/4) mc=1_  
_4-4/21-21 (green when 1/2) mc=1_  
_5-5/21-21 (green when 1) mc=1_  
_6-6/21-21 (green when 2) mc=1_  
_7-7/5-5 (red when 4) mc=1_  
_8-8/21-21 (green when 8) mc=1_  
_9-9/21-21 (green when 16) mc=1_  
_10-10/21-21 (green when 32) mc=1_  
_Create a new the output command deck common/loop/loop active on_  
_Learn the button_  
_Modifier condition is “is in active loop”, deck A , =0_  
_Set the led options to controller range 0-0 and midi range 21-21_

Where am I wrong here?  
The apc’s buttons uses cc1 and notes.  
If I understood the led ranges are: 21 for green and 5 for red.

Thanks in advance for any help.

---

<div class="post-metadata">

**Author:** ![Stewe](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/stewe/32/14607_2.png) [@Stewe](https://forum.djtechtools.com/u/Stewe)\
**Post date:** [January 12, 2018, 9:44pm UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838/2 "2018-01-12T21:44:33Z")

</div>

Can you please attach the TSI containing those loop buttons only? Color Ranges seems to be identical to Midifighter 64 so maybe I can remap it and test real easy.

To troubleshoot, I’d set a modifier to toggle values for each button and map LED using modifier outputs. Just to be sure if hardware fails or maybe a mapping issue.

---

<div class="post-metadata">

**Author:** ![Yul](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/yul/32/13542_2.png) [@Yul](https://forum.djtechtools.com/u/Yul)\
**Post date:** [January 13, 2018, 10:24am UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838/3 "2018-01-13T10:24:20Z")

</div>

Fooking hell, why I don’t succeed to upload the file, tried with two different browsers, either tsi or zip file, that doesn’t work?? I feel dumb. I don’t get it.

---

<div class="post-metadata">

**Author:** ![Stewe](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/stewe/32/14607_2.png) [@Stewe](https://forum.djtechtools.com/u/Stewe)\
**Post date:** [January 13, 2018, 1:07pm UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838/4 "2018-01-13T13:07:59Z")

</div>

I usually zip the file before uploading it to Forums. And it works every time.

Also feel free to upload it at MAPS if that’s necessary.

---

<div class="post-metadata">

**Author:** ![Yul](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/yul/32/13542_2.png) [@Yul](https://forum.djtechtools.com/u/Yul)\
**Post date:** [January 14, 2018, 12:21pm UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838/5 "2018-01-14T12:21:58Z")

</div>

Nope, no chance, don’t get it.  
Here’s the link on midimaps, thanks in advance.

> **[DJ TechTools - test leds](https://maps.djtechtools.com/mappings/8043)**

---

<div class="post-metadata">

**Author:** ![Stewe](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/stewe/32/14607_2.png) [@Stewe](https://forum.djtechtools.com/u/Stewe)\
**Post date:** [January 14, 2018, 2:12pm UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838/6 "2018-01-14T14:12:50Z")

</div>

> [@Yul](#):
>
> Nope, no chance, don’t get it.  
> Here’s the link on midimaps, thanks in advance.  
> [DJ TechTools - test leds](https://maps.djtechtools.com/mappings/8043)

Think I got it. Let me know what you find.

[Looping 2-3-8-16 with LED feedback.zip](https://forum.djtechtools.com/uploads/short-url/6HSEtgTYqZaaX79LonDmCivbrH9.zip) (29.8 KB)

---

<div class="post-metadata">

**Author:** ![Yul](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/yul/32/13542_2.png) [@Yul](https://forum.djtechtools.com/u/Yul)\
**Post date:** [January 14, 2018, 9:26pm UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838/7 "2018-01-14T21:26:24Z")

</div>

thanks, I’ll see and give you feedback

---

<div class="post-metadata">

**Author:** ![Stewe](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/stewe/32/14607_2.png) [@Stewe](https://forum.djtechtools.com/u/Stewe)\
**Post date:** [January 15, 2018, 9:53pm UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838/8 "2018-01-15T21:53:49Z")

</div>

Alright - should be good if APC uses “Note Hold” or “CC Hold” message type.  
The color code is identical since both controllers uses Ableton’s color scheme.

---

<div class="post-metadata">

**Author:** ![CTLASERS](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@CTLASERS](https://forum.djtechtools.com/u/CTLASERS)\
**Post date:** [January 18, 2018, 1:56pm UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838/9 "2018-01-18T13:56:28Z")

</div>

**Thank You**

Hello YUL and Stewe-

I am the user from traktor that YUL has been helping. This is going on nearly 4 weeks now. I dont want to sound like “that guy,” but come on…turning an LED on and off should NOT take this much time and effort. So, I thank you BOTH VERY MUCH for taking the time to try and help me.

Yul is a little more in the know of whats going on. however, quite simply, all i want to do is have a button on my apc40 mk2 be green (or at this point ANY color) when a loop is NOT active. and be red (blinking would be great, but i have a feeling 4 more years of college engineering will be needed for this) when IN an active loop.

Column 1 in grid:

2 beat loop- be green when NOT in active loop. red IN active loop

4 beat loop- be green when NOT in active loop. red IN active loop

8 beat loop- be green when NOT in active loop. red IN active loop

16 beat loop- be green when NOT in active loop. red IN active loop

32 beat loop- be green when NOT in active loop. red IN active loop

Stewe- your question above about note and/or CC “HOLD” is interesting. In Traktor, when i am able to choose a “HOLD” option, it is only “HELD” while i am physically holding the button. as soon as i let it go, the function stops.

Also- these modifiers are killing me. I am TRYING to learn their functionality but alot of the documentation seems very contradictory and some of it just plain unclear

---

<div class="post-metadata">

**Author:** ![Stewe](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/stewe/32/14607_2.png) [@Stewe](https://forum.djtechtools.com/u/Stewe)\
**Post date:** [January 18, 2018, 2:16pm UTC](https://forum.djtechtools.com/t/help-needed-traktor-mapping-apc40mk2-difficulties-to-map-leds-outs-for-loops/76838/10 "2018-01-18T14:16:47Z")

</div>

> [@CTLASERS](#):
>
> Hello YUL and Stewe-
> 
> I am the user from traktor that YUL has been helping. This is going on nearly 4 weeks now. I dont want to sound like “that guy,” but come on…turning an LED on and off should NOT take this much time and effort. So, I thank you BOTH VERY MUCH for taking the time to try and help me.
> 
> Yul is a little more in the know of whats going on. however, quite simply, all i want to do is have a button on my apc40 mk2 be green (or at this point ANY color) when a loop is NOT active. and be red (blinking would be great, but i have a feeling 4 more years of college engineering will be needed for this) when IN an active loop.
> 
> Column 1 in grid:
> 
> 2 beat loop- be green when NOT in active loop. red IN active loop
> 
> 4 beat loop- be green when NOT in active loop. red IN active loop
> 
> 8 beat loop- be green when NOT in active loop. red IN active loop
> 
> 16 beat loop- be green when NOT in active loop. red IN active loop
> 
> 32 beat loop- be green when NOT in active loop. red IN active loop
> 
> Stewe- your question above about note and/or CC “HOLD” is interesting. In Traktor, when i am able to choose a “HOLD” option, it is only “HELD” while i am physically holding the button. as soon as i let it go, the function stops.
> 
> Also- these modifiers are killing me. I am TRYING to learn their functionality but alot of the documentation seems very contradictory and some of it just plain unclear

Hi Ctlasers,

Have you tried out my provided mapping already? All you need to do is press “Midi Learn” in the Controller Manager and remap it to your controller.

For the “loop set” mappings, your buttons has to be configured as a hold type message because Traktor understands it that way. If your controller’s buttons are configured to toggle type than it would take a double press the button each time you wish to set/deactivate the loop.

Check your controller in MIDI OX (freeware) and see if the software monitor can recognize a midi event on both press and release of the button.

Press = Note On  
Release = Note OFF

About modifiers. What is the documentation that you find incomplete or unclear? Have you look in to DJ TechTools Youtube channel?
