MA Lighting Dot2onPC

0
0

Hi

I am using an APC KEY 25 and BMT Pro to control my  MA Lighting dot2 on pc, which i use to control my lights. Everything is fine except that i am unable to turn of my buttons once they are on. Let me be specific- When i press a button on the APC the dmx lights/program that is assigned to that button comes on perfectly.When i press it again the program stops as is expected. However the button glows green when switched off and refuses to go off when i press it the second time.I am new to Midi Mapping, infact never done it before, i struggled to get the button lights to come on but with the help of previous forums i managed that and everything else upto this point. Now what i need exactly is simple:

No Press-Remains green or no light is also fine

1st press-turns to amber and triggers the program on the dot2

2nd press-goes back to green/no light and stops the programme.

Basically i just need it to change colour when pressed so that i know which program is running and which isnt.

HELP Please!

RESOLVED
Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
February 21, 2018 6:15 pm
220 views
0
Private answer

Hi

Here are the final Bome files for this Project. These are as yet untested in real event environments but work beautifully at least with DOT2 on PC and Dot23d. Enjoy and please post any updates you make here!

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
May 10, 2018 8:26 pm

Very nice! Thanks for posting these Sharukh! I’m sure this will help other users that want to used MT Pro and different controllers with DOT2. I think we have a lot of lighting people out there doing this type of thing or wanting to do this.

Steve

( at May 10, 2018 8:50 pm)
1
Private answer

Hi, this is very strange as both controllers are putting out the same thing except for note number.  I found it strange that the Key25 send Note On messages to DOT2 for both turning on and off lights. Please double check that Key25 is working.

In the interim, I’m speculating that maybe DOT2 needs value of 127 to turn on light and 0 to turn off light.

With this in mind, I changed translator 4.17 to send 7F (127) to turn on and 0 to turn off. Please try this translator and see if it works. If it doesn’t work please confirm that indeed Key25 output is still doing what you want with DOT2.

 

Steve

 

Marked as spam
Posted by (Q&A Forum: 29, Answers: 2081)
May 9, 2018 10:47 pm

Hi!
Thank you! This has solved my problem! Next Phase will be to add yet another controller.However that I will do under a seperate topic as requested by you.I will fine tune all the final files here and attach it so it can help others in the future. As time goes on and these files are tested at real events I will also update them here if i see any issues.Thanks a ton for this Steve!Really Appreciate it!

( at May 10, 2018 9:03 am)

Happy to have helped, Sharukh!

( at May 10, 2018 3:38 pm)
0
Private answer

Hi
Please check attached file. In this file all knobs and faders on both controllers are working perfectly.All buttons on key 25 are perfect.The Keys on the Key25 im not concerned about right now. All buttons on Mkii are lighting up properly and going off properly. They are sending signal to the DOT2 to switch on the physical fixtures, but when i press it again the light on the button goes off but the physical DOT2 controlled fixture as well as the Midi Note in the remote inputs on the dot2 on Pc as well as the actual program on the dot2 DO NOT go off.
Ive tried everything and am totally out of ideas.HELP!

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
May 9, 2018 8:46 pm
0
Private answer

Hi

Ive done as you suggested.I think ive done everything.Now the Dot2 is not getting any signal from the Key 25 or from the APC40MKii. I dont know what ive done wrong.

I have got a file (also attached here and sent earlier-APC40MKII+APCKEY25 DOT2 CONTROL) where all the faders/knobs on both,as well as the keys on the Key25(eventhough they dont have translators) work perfectly. The 40 buttons on both do exactly the same as well, I need the 40 buttons on the key25 to do whatever they are currently doing, where as the 40 buttons on the Apc 40mkii need to be sent different note#’s to do different things. I dont want led feedback from key 25 to mkii or vice versa. I have a feeling that-Ive done something wrong in the attached file (1525627352281_APC40MKII APCKEY25-DOT2-CONTROL-2018-05-06-edited.bmtp) OR Maybe the DOT2 Doesnt accept Multiple Midi Controllers for some reason. Im not sure which.

Additionally the Key25 Keys,ive just realized are working fine but dont have translators in the BOME File.

I have used the same notes that they trigger on the dot2 for the Faders and Knobs on the MKII since i want those to do the same thing as the keys on the Key25 and it works in the APC40MKII+APCKEY25 DOT2 CONTROL.bmtp file.

Lastly on the DOT2 Midi Configuration ive set MIDI IN AND MIDI OUT to BMT PRO. This is what worked for all the files so far.

Let me know what you think. Thanks!

 

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
May 7, 2018 6:26 pm

Hi,

Are your aliases properly assigned in your new file.

APC Key 25 -> APCKey 25 (or whatever the port reports for the real port)
APC40 -> APC40 MkII
GrandMa -> Bome MIDI Virtual Port 1 (or whatever port you have set on GrandMa app)

If so, please turn on logging and push a few buttons on the APC40 and then the APC Key 25.
If you want the keyboard to work on the APC Key 25 as normal notes, we might need to make other changes. We will need to ensure that we have a way to differentiate notes, vs pads on incoming message of the APC Key 25.

On my system I’m using Bome MIDI Translator 3 to test output so my aliases are as follows since I don’t have an APC Key 25
APC Key 25-> Bome Virtual Port 1
APC40 ->APC40 mkII
GrandMA -> Bome Virtual Port 3

Here is an excerpt from my log. Notice that I assume note on out to Grandma toggles between On and Off.

57: MIDI OUT [Bome MIDI Translator 3 Virtual Out]: 90 4D 7F
58: MIDI OUT [APC40 mkII]: 90 03 00
59: MIDI IN [APC40 mkII]: 80 03 00
60: MIDI IN [APC40 mkII]: 90 02 7F
61: MIDI OUT [Bome MIDI Translator 3 Virtual Out]: 90 4C 7F
62: MIDI OUT [APC40 mkII]: 90 02 00
63: MIDI IN [APC40 mkII]: 80 02 00
64: MIDI IN [APC40 mkII]: 90 03 7F
65: MIDI OUT [Bome MIDI Translator 3 Virtual Out]: 90 4D 7F
66: MIDI OUT [APC40 mkII]: 90 03 05
67: MIDI IN [APC40 mkII]: 80 03 00

( at May 7, 2018 7:18 pm)
0
Private answer

Hi, I made the following changes:

-APC Key25 INIT Preset set to wrong output port (this was not related to your problem but would have been later
-Removed MIDI Routs from APCKey25 to Bome Virtual Port 1 and APC40 MkII and Bome Virtual Port 1 (let the translators handle routing and don’t use default routes. This will create all sorts of side affects if left. I found it easier to not have default routing as I always get bit by this. This may or may not have affected your problem.
-Created Aliases for APC40 and APCKey25 and GrandMA. I do this since when sharing projects, people often have different configuration so I always use aliases for everything. Initially you may need to assign them but once they are set, they don’t prompt when re-opening the projects. This probably didn’t affect your problem
-Set up ports to all go to their aliases instead of their hard coded ports.   This probably didn’t affect your problem but will be handy for me later since I don’t have an APC Key 25-Disabled 3.1 ESC Init (already coverd in 0.1 duplicate)
-APC40 global variables same as APC Key25. They need to be different for every toggle translator. I thought you had fixed this so maybe you re-introduced this problem.
-5.18 Rules note correct. Checking for 129 and 145 insteand of 128 and 144. Each translator should check for 128 (note off)and 144 (note on) on MIDI channel 1 – I think this should fix your problem. You will need to fix the other translators to match this (as well as fixing your global variable assignments).

Now every time you push a button, it sends a Note-On of the value you specified to GrandMA. I assume from your APCKey25 settings that this is what GrandMA is expecting for both enable and disable.  I don’t know for sure what GrandMA is expecting so if it expects something else to disable, you will need to change the output of each translator accordingly.

 

Steve

 

Marked as spam
Posted by (Q&A Forum: 29, Answers: 2081)
May 6, 2018 7:22 pm

Thank you! I think this should probably solve my issues.Will let you know in a day or two!

( at May 6, 2018 7:35 pm)
0
Private answer

 

Hi

So in the attached file under Apc 40mkii WORK I have changed the note#’s on  R1C1 UPTO R5C8 Translators as i require them to respond. I have also changed the rules as you instructed. Now When i press R1C1 the relevant dot2 program comes up and the led light on the button comes on, when i press it again the led light on the button goes off but the program on the dot2 stays on.HOWEVER, this now happens only on R1C1 and R3C1 all the other buttons are not doing anything,not coming on on the controller or sending signals to the dot2. Im sure im doing something wrong.Please help!Thanks in Advance.

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
May 6, 2018 4:05 pm
0
Private answer

Hi,

OK I had to make a few changes.  Apparently the MK2 instead of sending note off messages as note on with velocity 0.  It sends note off messages

To 4.17, instead of looking for 90 00 7F,  I look for  pp 00 7F.  This could be note-on note-off or cc or program change.

Then to only process note on or note off and skip anything else I add the following rules.

// Look for either note on or note off
// Is it a note off?
if pp==128 then skip next rule
// Is it note on – If no the it is not for this translator
if pp!=144 then exit rules, skip Outgoing Action

If it passes through the note-on or note-off test above, the translator fires the appropriate action of 90 00 pp

Now here is a more interesting point.  Since the translator is bypassed, any unprocessed messages at the end of the preset will get sent to the default preset port untouched.  To prevent stray note-off messages from being sent to the application. I set up a new translator 4.65  that looks for any incoming MIDI messages with 80 pp qq and then with no output so the note off messages get discarded instead of passing through to the application.

I’ve attached the file below.  For the APC40 you need to modify all the other translators accordingly.

Steve

Marked as spam
Posted by (Q&A Forum: 29, Answers: 2081)
May 5, 2018 4:13 pm

Thank you! Please give me a couple of days, I will test this and get back.

( at May 5, 2018 4:53 pm)
You are welcome! If the you have and questions related to this specific issue, you can post here. However, if it is a new question related to the project in general but not to this specific question, please start a new thread. We would like to be more precise in our tracking and resolution of issues so that it is easier for people to find in the future. If there are many (maybe related but not the same) in one thread, the users will have to wade through a long history to find the gem related to their specific issue. Having shorter concise and specific Q&A separated by thread should help the overall user community. I appreciate your cooperation with this! Steve
( at May 5, 2018 5:04 pm)

Sure, Will do that Henceforth.

( at May 5, 2018 6:06 pm)
0
Private answer

Hi

So in the attached file under Apc 40mkii work I have changed R1C1 TO Note#74 so it links to note 74 on the dot2 unlike any other button/fader or knob. When i press it the relevant dot2 program comes up and the led light on the button comes on, when i press it again the led light on the button goes off but the program on the dot2 stays on. As requested I have pressed this button twice and attached the log file here.

1: MIDI IN [APC40 mkII]: 90 00 7F
2: IN 4.17 MIDI 90 00 7F
3: RULE 4.17:1 expression: (ga=ga^1) = 1
4: RULE 4.17:2 condition satisfied: if ga==1 then pp=144
5: RULE 4.17:2 assignment: (if ga==1 then pp=144) = 144
6: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: 90 4A 7F
7: OUT 4.17 Note On on ch. 1 with note:74 (0x4A) and velocity:127 (0x7F)
8: IN 5.0 MIDI 90 00 7F
9: RULE 5.0:3 condition satisfied: if ga==1 then pp=5
10: RULE 5.0:3 assignment: (if ga==1 then pp=5) = 5
11: MIDI OUT [APC40 mkII]: 90 00 05
12: OUT 5.0 MIDI 90 00 05
13: MIDI IN [APC40 mkII]: 80 00 00
14: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: 80 00 00
15: MIDI IN [APC40 mkII]: 90 00 7F
16: IN 4.17 MIDI 90 00 7F
17: RULE 4.17:1 expression: (ga=ga^1) = 0
18: RULE 4.17:3 condition satisfied: if ga==0 then pp=128
19: RULE 4.17:3 assignment: (if ga==0 then pp=128) = 128
20: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: 90 4A 7F
21: OUT 4.17 Note On on ch. 1 with note:74 (0x4A) and velocity:127 (0x7F)
22: IN 5.0 MIDI 90 00 7F
23: RULE 5.0:4 condition satisfied: if ga==0 then pp=0
24: RULE 5.0:4 assignment: (if ga==0 then pp=0) = 0
25: MIDI OUT [APC40 mkII]: 90 00 00
26: OUT 5.0 MIDI 90 00 00
27: MIDI IN [APC40 mkII]: 80 00 00
28: MIDI OUT [Bome MIDI Translator 1 Virtual Out]: 80 00 00

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
May 5, 2018 3:40 pm
0
Private answer

Hi

So I have managed to get the key 25 and the apc40 MKII do the same thing as in turn on/off the same programs using the same buttons/faders/knobs. What i want to do now is get the 40 buttons (that ive assigned) on the Apc 40mkii to do different things from the 40 buttons on the Apc Key25. I tried using different note#’s for the Apc40MkII BUT while the lights came on correctly they refused to go back off.Please help!Thanks.

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
May 5, 2018 11:37 am

Hi, after making the change of note, did you hit ESC key on you computer keyboard to resend the APC40 MK2 initialization string.?It seems to work for me but the project file you posted shows the same note number on APC40 MK2 as APCKey 25. I’m looking at 2.0 and 5.0.

I don’t have an APCKey 25 but everything seems to be working OK on my APC 40 MK2.

Maybe you should enable the log file push the button twice, copy and paste into a text file and post it here.
Please check all of the boxes except Timestamped.

Steve

( at May 5, 2018 2:56 pm)
0
Private answer

Hi
So I have hit a wall! I have taken the Apc key 25 file and edited it to work with an APC 40MK2. I have created translators for all knobs and faders and only the 40 main buttons on the Mark2. All other buttons ive generally ignored. Its all working great with the DOT2 Except that those 40 buttons are not lighting up.I have used the same rules that ive used in the Apc Key25 file.I have not yet mixed both the files(to use both controllers) so i assumed that i didnt need to change the rules yet, im guessing thats my mistake so i thought id ask for your help again! Ive attached my file, it might have remnants from the KEY25 file youve already helped me create, so please bear with me as im still far from a Genius at BOME 🙂 or Midi Controlling in general.

Attachments:
Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
May 2, 2018 10:22 pm

Hmm it seems to work on my APC 40. However a few suggestions.
On preset "Work" you should probably override the project defaults and only send MIDI to your application which is probably Bome MIDI Translator Virtual Port 1. I don’t think you want these messages also going back to your APC40 which is what will happen since these are the project defaults.

Also, I don’t think you want a MIDI route from APC40MK2 to Bome MIDI Translator Virtual Port 1 since your translators should be handling all the routing. Anything not covered by a translator would flow to Bome Virtual Port 1 for any translators disabled or not otherwise defined.

Steve

( at May 2, 2018 11:04 pm)

Finally you don’t use the same init string for APC40 as APC MINI.

The Init stream for the APC40 should be :

F0 47 7F 29 60 00 04 41 08 02 01 F7

( at May 2, 2018 11:16 pm)

Another suggestion, you may want to clear all of your global variables when you hit ESC key just like when your project starts up. Either that or update all the LED’s with their current state. This would avoid having you to hit a button twice if the actual LED state doesn’t match the global variable.

( at May 2, 2018 11:21 pm)

Hi
Thank you! As Always, its working great now! All APC 40 Lights are working perfectly.Will share file shortly. Now i will begin work on the next phase which is both the Midi controllers together.Thank you!

( at May 4, 2018 11:43 am)
0
Private answer

Hi

So now that I have my APC KEY25 working flawlessly with my Dot2 on PC setup, I was wondering if it is possible to connect more than one Midi controller Via Bome to the Dot 2 and what I would need to do in the file to make that happen.Thanks.

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
April 19, 2018 10:10 pm

Yes you can. I would recommend you change you existing presets to something like

APC to Dot25
APC LED Feedback

You then create another preset for your other controller, and also LED Feedback if you want.
Within these presets you define the different input and output ports.

Controller2 to Dot2
———————-
Input Controller 2
Output Dot2

Controller2 LED Feedback
——————————-
Input Controller2
Output Controller2

You may need to be concerned about cross LED feedback. For instance if you press a button on APC and want feedback to both APC and Controller2 you will need to set up another feedback loop from APC to Controller2 and visa versa.

Steve

( at April 19, 2018 10:41 pm)

Thanks! Will start the process and get in touch when i hit a wall!

( at April 20, 2018 2:34 pm)

Hopefully you wont hit a wall, however I’m here if you do.

( at April 20, 2018 3:46 pm)
0
Private answer

I updated R1C1 to green flash when on and red flash when off.

I updated R1C2 to solid red when on and off when off

Marked as spam
Posted by (Q&A Forum: 29, Answers: 2081)
March 29, 2018 11:12 pm

Thanks!!

( at March 29, 2018 11:24 pm)

Your welcome!

( at March 29, 2018 11:35 pm)
0
Private answer

Hi
In which Preset should i insert this rule.Have attached file here.Could you please edit it and give me a sample so i can take it from there. Thanks.

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
March 29, 2018 11:03 pm
0
Private answer

Hi Here is the Finalised file. Its almost perfect except for when i turn the knobs the lights flicker while going on and off when i turn the knob 0 to 100 i need them to smoothly fade up and fade out when it is turned from 100 back to 0.Any ideas? Please let me know.Thanks.

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
March 26, 2018 3:48 pm

I assume you are talking about translators 1.58 through 1.65. It appears that 1.58 is wrong as you are setting gb to value and then using oo to control the output. My guess is it should be the same as the others (pp for both).

I also assume you mean the physical lights controlled by the DOT2 and not the LED’s. If the LED’s, they will change color based on the value being fed back to the MIDI controller. If it is the actual lights, this would be a function of the executor you are running as a result of the MIDI input. Since the MIDI controller puts out velocity in steps of 0-127, that would be the best granularity you would get on the lights unless the DOT2 has a way to smooth this.

One thing I noticed is you still have a defined route from the APC Key 25 to Bome Virtual MIDI port 1 (which I assume is DOT2). This may not be necessary since you are using translators to handle everything. Keep in mind, with this setup, any translator that is not defined, there will be untranslated output going to DOT2 directly. I usually delete default routes to avoid unintended side affects. There may be some MIDI message coming from your APC Key 25 going directly to DOT2 that you don’t want.

Steve

( at March 26, 2018 5:59 pm)

Hi
Yes 1.58 was wong, ive corrected it. Yes i meant the physical lights and based on your answer, i got the dot2 function that solves that. Ive also deleted the route.
Now incase I want some of the buttons to be different colours. All my buttons are going green for ON and no light for OFF , Right now. Assume the following two scenarios and let me know how to do both Please.
1) Light is Red/red flashing when off and Green/green flashing when on
2) Light is No Light when off and Red when on
also let me know scenario 2 in other colours like Amber,Amber flashing, Green,green flashing,red flashing.
Thanks!

( at March 29, 2018 10:29 am)

Here is the color map. Basically you will want rules to pick the on/off colors as I believe MA will only send back 127 and 0

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

Rules would look something like this for Red flashing when off and green flashing when on
Input note xx on value pp (where xx is the note number
if pp=127 then qq=2
if pp=0 then qq=4
Output note xx value qq

( at March 29, 2018 6:16 pm)
0
Private answer

Hi

Iam sorry for the delayed reply.I am in between gigs right now so give me a few days and i will try the file properly and keep you informed. Thanks.

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
February 23, 2018 7:24 am

OK, just checking. Take your time.

Steve

( at February 23, 2018 1:53 pm)
0
Private answer

OK, here is what I did

Created a new preset called “Init”. Put 3 translators there. 1st translator fires timer “Init” on project open.

2nd translator will also fire the “Init” timer on when you hit escape key on computer keyboard.

3rd translator monitors for the “Init” Timer and sends the MIDI initialization message to the APC Key 25 only.

This way you have two was to send the initialization message, on project open or hitting your computer escape key.

Then I deleted your default routes, since you probably will want everything to be done by translators. You may want to add the route back in from APC Key 25 to Bome MIDI Translator Virtual 1 port.  I generally like to do everything in translators instead of default routes as I don’t like side affects of things coming through that I don’t know about. Keep in mind, anything that is not “swallowed” in a translator will pass through the default route.

Under the Init preset I set the output project port as APC Key 25 only since that is the only place we want to send the initialization string.

I renamed “New Preset” to  “Work”. You can change it to something more descriptive if you would like but New Preset is the default name when creating a new one so I usually like to change it to know what I have touched.

The newly named “Work” preset I set input device as APC Key 25 and output Device as Bome MIDI Translator Virtual One port

That way every translator under that preset will receive from and send to BMT1 only.  I try to do most port management at the preset level based on the devices I’m controlling.

Now since the initialization setting should make all buttons momentary instead of toggle, I changed Clip R1C1On and R1C1 Off as follows.

R1C1 Off I will disable. More on this later.

Under R1C1 On,  I toggle a global variable ga every time it is pressed with the rule:

ga=ga^1

Then the rules here will determine the output value

if ga==1 then pp=144 (this is decimal for 90 or note on)

if ga==0 then pp=128  (this is decimal for 80)

On output we send a raw midi message

pp 0A 7F

So essence we are sending note on if ga=1 and note off if ga=0 and we can do it with only one translator instead of two.

Finally a preset for LED Feedback called “LED Control”
Input for this preset is APC Key 25 and output is also APC Key 25.
I copied R1C1 On from the other translator but we have to change the output going back to
APC Key 25

I use this logic to determine the output

if ga==1 then pp=127
if ga==0 then pp=0

and then output will be 90 35 pp

We don’t do ga=ga^1 here because it was already done in an earlier translator. We don’t want to double toggle.

So if this works for you, you will need to go through and change the other clips to look like this, however each button will need anothre global variable. I suggest gb, gc , gd etc.

I went ahead and did R1C2 as will so you should see how to carry it forward.

I don’t have an APC Key 25 so hopefully I didn’t make any mistakes because I could not test.

I hope this works for you.

Good Luck!

Steve

 

 

 

Marked as spam
Posted by (Q&A Forum: 29, Answers: 2081)
February 21, 2018 11:35 pm

Hi, any progress with the project file I sent you?

( at February 23, 2018 12:16 am)

Hi
So sorry for the long delay in replying but i have been touring so was unable to get back to this. Ok so basically the Midi Controller and the Bome file is doing everything I want except that once the button is pressed and the green light comes on it doesnt go off when pressed again. Other than that everything is running perfectly.
I went through your detailed replies but im going to be honest, I am a Lighting Engineer who didnt know what BOME was till two months back so everything youve so painstakingly said in your reply is a real bouncer for me. I have absolutely no experience with Midi controllers and still was able to reach upto this point but now i seem to be totally blocked. I need the button light to go off or atleast change colour bcz without that once the button light comes on the Stage fixture/s also come on, when i press it again the stage fixtures go off but the button light stays on and when i look at the controller i cant decipher what program is running and whats not. I dont know how you can help me but if i can solve this…im sorted.Thanks a ton for the Painstaking replies again.

( at March 24, 2018 7:52 pm)
Did you try the project file I sent you with the modified R1C1? That is the only button I changed. Also make sure your APC Key 25 is plugged in when starting the project or if not, press the ESC key on your computer keyboard before giving it a try. Please tell me the behavior of the light. No need to have your DOT2 connected for this test. Probably better not to.
( at March 24, 2018 9:01 pm)

Hey Steve so good news!
Ive managed to get two of the 40 buttons to go on and off. Am working on the rest now.Will update as soon as they are done! Thanks a ton!

( at March 24, 2018 9:28 pm)

Also, looking at your file, it looks like the controls are for APC40 not APC Key 25. For instance the APC Key 25 doesn’t have faders. Are you really using an APC 25? Your file shows 8 faders plus a master fader and a cross fader and the APC 25 just has 8 knobs total.

( at March 24, 2018 9:45 pm)
Hi Yes you are right, I realized that earlier and fixed that in the file.Apparently this file was originally used by someone else for an APC 40. I am using an Apc Key 25, Ive done the needful though and your method is Working! I am doing all the buttons now.Will update shortly.
( at March 24, 2018 9:53 pm)
Glad to hear it!
( at March 24, 2018 10:58 pm)

Hi Steve,
Thank you so much for all your help, I have managed to get the button lights go on and off along with the stage lights.Thanks a ton! Couldnt have done it without your help!

( at March 25, 2018 12:41 am)

Glad to have helped! If you can post your project here when ready, maybe others can also benefit.

( at March 25, 2018 1:47 am)
0
Private answer

Hi

Thanks for this.I am trying this but nothing seems to be happening yet, so i figured ill share the file with you and hopefully you can see whats wrong here.Also I have no idea how to do this

“you should include it to be sent at project opened to ensure your MIDI controller is in the right mode.”

let me know thanks.

Marked as spam
Posted by (Q&A Forum: 2, Answers: 25)
February 21, 2018 10:35 pm
0
Private answer

Hi,

If I remember APC controllers have several modes at least for APC20 and APC40 so it is possible your controller is in the native mode which means certain buttons and LED’s are toggle instead of momentary.

It is not well documented but I believe one of the following Sysex (raw MIDI message) commands can be sent to put it in Ableton Mode.

I would recommend you try the following and see if one of them works for you. If it does, you should include it to be sent at project opened to ensure your MIDI controller is in the right mode.

Output to APC Key 25

 

Raw MIDI

F0 47 7F 27 60 00 04 41 08 02 01 F7

If that doesn’t work try this:

F0 47 7F 27 60 00 04 42 08 02 01 F7

After sending one of the above, try testing again (without turning off your APC Key 25).

If  this doesn’t work then come back here and maybe I can think of something else to try.

If it works, please elaborate which of the above MIDI Streams worked and mark question as resolved.

Steve Caldwell

Bome Q&A Moderator and

Bome Independent MIDI Programming Consultant/Specialist

bome@sniz.biz

P.S. You will probably also need to add the following translator to ensure you have Bome Manually toggle the light. Replace the note and channel number based on what note and channel the button is sending

Input Note on Note X on channel Y velocity 127 from APC Key 25

Rules

ga=ga^1

if ga==1 then pp=127

if ga==0  then pp=0

Output Note on Note X Channel Y  velocity pp to APC Key 25

The above will toggle the velocity looped back to the controller to turn on and off the LED.

 

Marked as spam
Posted by (Q&A Forum: 29, Answers: 2081)
February 21, 2018 7:29 pm

I noticed one other thing.
You might be using the global variables ga and gb already.

It is good practice to create a translator to document all your global variable. I generally do this under the Init preset and then set them if necessary through the same incoming “Init timer”.

( at February 21, 2018 11:38 pm)