# Help configuring APC 40 and splitting signals

**URL:** <https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846>\
**Category:** Bome Products\
**Created:** [March 12, 2021, 12:29am UTC](https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846 "2021-03-12T00:29:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ARTHUR.OLIVEIRA](https://forum.bome.com/letter_avatar_proxy/v4/letter/a/bcef8e/32.png) [@ARTHUR.OLIVEIRA](https://forum.bome.com/u/ARTHUR.OLIVEIRA)\
**Post date:** [March 12, 2021, 12:29am UTC](https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846/1 "2021-03-12T00:29:47Z")

</div>

Hi there people, hi there Steve! Hope you’re all doing great!

So I’m trying to configure my APC 40 (mk1) to my needs.

Firstly I want to be able to split it’s signal to two different applications: Ableton and Mobius (which is a VST running inside of Ableton). I haven’t tried this yet but I think it’s just a matter of sending the APC’s input signal to 2 virtual outputs and choosing each output in each program, am I right? Please tell me if I’m being too naive to think it’s that easy lol

Secondly, I would like to configure the APCs led feedback. That’s where I’m stuck right now.  
So perfect scenario would be whenever I’d press a pad it would turn solid red, then pressing it again would turn it into blinking red and vice-versa, but holding it for a while would turn it off.  
Also I’d like to configure the record arm and solo buttons to different colors. The default is red for the record arm and blue for the solo.

I’ve been digging around and trying to make it work but I’m not sure if I’m routing everything the right way because sometime the APC works like it’s opened on Ableton (but it’s not) and the buttons don’t respond like toggles, and then sometimes everything goes blank and it begins to work as toggles again. I have no clue why.  
Also the rules behind the translators don’t make much sense to me. I found other people’s posts and Steve’s replies mentioning rules like ga=ga^1 and I simply can’t understand what that means. I do understand IF clauses, assignments etc but I really wish I could understand all of this so I could play with it and configure the way I wanted.

Anyways if it’s of any help, here it is the APC40s mapping for each button:

> **[APC%20MIDI.pdf](https://www.bome.com/forums/3/2770/apc40-changing-led-states-and-colours/APC%20MIDI.pdf)**
>
> 1594.89 KB

If you guys could help me I’d be really grateful!

Thanks everybody,  
Take care.  
Arthur

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [March 12, 2021, 4:31am UTC](https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846/2 "2021-03-12T04:31:06Z")

</div>

> [@ARTHUR.OLIVEIRA](#):
>
> Hi there people, hi there Steve! Hope you’re all doing great!
> 
> So I’m trying to configure my APC 40 (mk1) to my needs.
> 
> Firstly I want to be able to split it’s signal to two different applications: Ableton and Mobius (which is a VST running inside of Ableton). I haven’t tried this yet but I think it’s just a matter of sending the APC’s input signal to 2 virtual outputs and choosing each output in each program, am I right? Please tell me if I’m being too naive to think it’s that easy lol

Hi yes, send your control signals to a Bome Virtual Port and in Ableton Live, set it up for control surface. For plug-ins, you would define a different Virtual Port and set it up as a track. I believe track controls follow their plugins.

> [@ARTHUR.OLIVEIRA](#):
>
> Secondly, I would like to configure the APCs led feedback. That’s where I’m stuck right now.  
> So perfect scenario would be whenever I’d press a pad it would turn solid red, then pressing it again would turn it into blinking red and vice-versa, but holding it for a while would turn it off.  
> Also I’d like to configure the record arm and solo buttons to different colors. The default is red for the record arm and blue for the solo.

Hi, I can probably give you an example, however understand it is better that if you can get Ableton Live to control the button colors otherwise they could be out of sync if you push a button in Ableton Live. The controller may not be updated correctly. So I would recommend you look at [remotify.io](http://remotify.io) to create a simple MIDI remote script. Then if you need to tweak something from there, use MT Pro. MT Pro can do it, you just need to translate the incoming message to something the controller likes.

> [@ARTHUR.OLIVEIRA](#):
>
> I’ve been digging around and trying to make it work but I’m not sure if I’m routing everything the right way because sometime the APC works like it’s opened on Ableton (but it’s not) and the buttons don’t respond like toggles, and then sometimes everything goes blank and it begins to work as toggles again. I have no clue why.

Ableton Live is probably using a MIDI remote script to control the lights. It will try to talk directly to the APC40, however if the APC40 port is already in use by MT Pro it will fail. Your strategy should be to set up Ableton Live to only connect to Virtual Ports and then either use translators or MIDI routing in MT Pro to pass or translate the message from and to your APC40.

> [@ARTHUR.OLIVEIRA](#):
>
> Also the rules behind the translators don’t make much sense to me. I found other people’s posts and Steve’s replies mentioning rules like ga=ga^1 and I simply can’t understand what that means. I do understand IF clauses, assignments etc but I really wish I could understand all of this so I could play with it and configure the way I wanted.

the ‘^’ is an exclusive or bitwise operation. Here is a truth table  
 ![image](https://forum.bome.com/uploads/default/original/2X/9/97b494ef5aef48c52365057316091d86996664fc.png)

All Bome Variables are 32 bits. ga=ga^1 will XOR the current value of ga with 1 and then update ga with the new value essentially toggling it between 1 and 0.

So if ga = 0 it is the below in binary  
0000 0000 0000 0000 0000 0000 0000 0000  
Or decimal 0  
After the operation it will change the value of the lowest bit so it will be:  
0000 0000 0000 0000 0000 0000 0000 0001  
Or decimal 1

As far as your project file, I will take a look and determine if there are a few pointers I can provide which would be in scope for free support, however creating a complete solution or more complex project might required paid consulting/programming. I’m happy to help here as well and if interest, just drop me an email so I can provide a time estimate.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [March 12, 2021, 4:42am UTC](https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846/3 "2021-03-12T04:42:50Z")

</div>

Here is another post that describes in a bit more detail the XOR operator.

> [@Bitwise - -](https://forum.bome.com/t/bitwise/923):
>
> In the manual on pg 68-69. 10 expressions are discussed i understand the first 5 listed but the last 5 regarding bitwise im having difficulty understanding the example equations. Its not making sense to me. Im looking to understand them better, and to understand when i would use them. the one benefit i see to using bitwise functions is that they are a more simple way of executing rules. Let me know Thanks!

---

<div class="post-metadata">

**Author:** ![ARTHUR.OLIVEIRA](https://forum.bome.com/letter_avatar_proxy/v4/letter/a/bcef8e/32.png) [@ARTHUR.OLIVEIRA](https://forum.bome.com/u/ARTHUR.OLIVEIRA)\
**Post date:** [March 12, 2021, 4:10pm UTC](https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846/4 "2021-03-12T16:10:48Z")

</div>

Gotcha Steve!

Thank you very much my friend.

I bought the complete [remotify.io](http://remotify.io) and messed with it a little. Really interesting stuff

The thing is that I want to split the APC to use its pads in the VST with a custom led feedback according to whats happening in the VST itself.

And use the other lower buttons (solo, arm record, activate) in Ableton with it’s default led feedback which would indicate if the tracks are armed, soloed or activated.

And from what I understood I’ll have to create a custom ableton script with those same default functions (arm, solo, activate) and then configure the pad’s led feedback in BMT right?  
Because in Remotify I haven’t seen an option to create led feedback without a Ableton command linked to it, which is what I want since I’ll be using the pads for the VSTs commands.

Am I thinking correctly? Any ideas?

Thanks as always Steve.  
Arthur

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [March 12, 2021, 7:19pm UTC](https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846/5 "2021-03-12T19:19:56Z")

</div>

Yes, set up a script for the standard Ableton Stuff. Then use MT Pro to set to the extended functions and probably provide local LED feedback from MT Pro.

I also noticed your PDF on APC40 functions, however there are certain buttons and behaviors that function differently depending on which Mode the APC40 is in. It powers up in Mode 0 and your PDF reflects the MODE 0 behavior. Most of what I do is mode 2 which makes all buttons as momentary and the device knobs behave differently in that mode as well. You might want to download the APC40 programmers reference guide from Akaipro and look through it.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![ARTHUR.OLIVEIRA](https://forum.bome.com/letter_avatar_proxy/v4/letter/a/bcef8e/32.png) [@ARTHUR.OLIVEIRA](https://forum.bome.com/u/ARTHUR.OLIVEIRA)\
**Post date:** [March 13, 2021, 6:08am UTC](https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846/6 "2021-03-13T06:08:50Z")

</div>

Hi Steve,

So I’ve made quite a progress! I can’t even believe it myself 😃  
I trully appreciate your support sir!

So I managed to configure the APC on BMT as I wanted and I’m trying to finish the script for Ableton but now I’ve hit another wall.

While testing the script that I’m writing I’ve noticed Ableton isn’t receiving any midi messages at all, even from my other controller that has nothing to do with all this.  
I configured the script as a Control Surface and BMT 1 for inputs and outputs on Ableton. However when I push any button it doesn’t do anything.  
BUT if I arm the tracks with my mouse the APC actually lights up so I guess they are talking even though it’s probably a one sided conversation.

Also I think it’s worth mentioning my routing on BMT, just in case:  
APC 40 (in) —\> BMT 1 (out), BMT 2 (out)  
BMT 1 (in), BMT 2 (in) —\> APC 40 (out)

What am I doing wrong?  
Would you shine a light on this for me?

Thanks a lot as always,  
Arthur

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [March 13, 2021, 6:13am UTC](https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846/7 "2021-03-13T06:13:33Z")

</div>

Hi Arthur,

Late here and computer shut down for tonight. I will help when I get up tomorrow morning my time (Portland Oregon USA)

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![ARTHUR.OLIVEIRA](https://forum.bome.com/letter_avatar_proxy/v4/letter/a/bcef8e/32.png) [@ARTHUR.OLIVEIRA](https://forum.bome.com/u/ARTHUR.OLIVEIRA)\
**Post date:** [March 13, 2021, 6:13am UTC](https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846/8 "2021-03-13T06:13:59Z")

</div>

Nevermind Steve!

The problem was that Control Surface Studio (remotify) was using the signal and not letting it go into Ableton.

It’s all working flawlessly now! 😃 😃 😃

Thank you SO much for everything sir!

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [March 13, 2021, 6:18am UTC](https://forum.bome.com/t/help-configuring-apc-40-and-splitting-signals/2846/9 "2021-03-13T06:18:08Z")

</div>

Awesome, yes you need to close down remotify in the browser as the web browser will hold the MIDI port open. In fact Windows requires that only one application open a given MIDI port at a time, so you should let MT Pro gain control of your MIDI ports before opening Ableton Live.

Steve
