DOUT with pro tools

I’m having trouble getting leds to work properly with pro tools

At the moment I have the leds responding when I press solo in pro tools, but the problem is, when I press solo on any channel it will turn on all leds I have assigned. I know that the problem is in the way I’m coding because it is only doing this in pro tools.

The code I am using is this, which are the cc equivalent values to sysex zone select/port on:

EVENT_LED id=  1 type=cc chn=1 cc=12 range=0:0
EVENT_LED id=  1 type=cc chn=1 cc=44 range=67:67

I can’t get them to respond with sysex messages, whereas it does work for buttons. For example, this was not working:

EVENT_LED id= 1  type=sysex stream=“0xb0 0x0c 0x00 0xb0 0x2c 0x43”

I have the buttons configured in a similar way as shown before with cc messages with ranges and they work, so I thought maybe this could work for the leds, but it appears that is wrong

What would be the right way to do this? 

 

 

Hello 2hb

I guess you try to set all this in HUI mode (which is not sysex !! )

I have an beta/optional NGC/NGR version for a control surface in HUI mode.

I’ll check it and share the code strategy for this purpose asap, it’s tricky…

Best

Zam

Ok, here it is.

Example for SOLO function, hw_id related to my DI/O layout so you have to adapt…

################################################################################ # SOLO 1-8 ################################################################################ EVENT\_BUTTON hw\_id=4 id=4 type=SySEx stream="0xb0 0x0f 0x00 0xb0 0x2f 0x43" button\_mode=toggle EVENT\_BUTTON hw\_id=12 id=12 type=SySEx stream="0xb0 0x0f 0x01 0xb0 0x2f 0x43" button\_mode=toggle EVENT\_BUTTON hw\_id=20 id=20 type=SySEx stream="0xb0 0x0f 0x02 0xb0 0x2f 0x43" button\_mode=toggle EVENT\_BUTTON hw\_id=28 id=28 type=SySEx stream="0xb0 0x0f 0x03 0xb0 0x2f 0x43" button\_mode=toggle EVENT\_BUTTON hw\_id=36 id=36 type=SySEx stream="0xb0 0x0f 0x04 0xb0 0x2f 0x43" button\_mode=toggle EVENT\_BUTTON hw\_id=44 id=44 type=SySEx stream="0xb0 0x0f 0x05 0xb0 0x2f 0x43" button\_mode=toggle EVENT\_BUTTON hw\_id=52 id=52 type=SySEx stream="0xb0 0x0f 0x06 0xb0 0x2f 0x43" button\_mode=toggle EVENT\_BUTTON hw\_id=60 id=60 type=SySEx stream="0xb0 0x0f 0x07 0xb0 0x2f 0x43" button\_mode=toggle EVENT\_RECEIVER hw\_id=1040 id=1040 type=cc chn=1 cc=0x0c EVENT\_RECEIVER hw\_id=1041 id=1041 fwd\_id=sender:1040:127 type=cc chn=1 cc=0x2c if\_equal=0x43 EVENT\_RECEIVER hw\_id=1042 id=1042 fwd\_id=sender:1040:0 type=cc chn=1 cc=0x2c if\_equal=0x03 EVENT\_SENDER hw\_id=1040 id=1040 fwd\_id=led:4 EVENT\_LED hw\_id=4 id=4 if\_equal=receiver:1040:0 EVENT\_SENDER hw\_id=1040 id=1041 fwd\_id=led:12 EVENT\_LED hw\_id=12 id=12 if\_equal=receiver:1040:1 EVENT\_SENDER hw\_id=1040 id=1042 fwd\_id=led:20 EVENT\_LED hw\_id=20 id=20 if\_equal=receiver:1040:2 EVENT\_SENDER hw\_id=1040 id=1043 fwd\_id=led:28 EVENT\_LED hw\_id=28 id=28 if\_equal=receiver:1040:3 EVENT\_SENDER hw\_id=1040 id=1044 fwd\_id=led:36 EVENT\_LED hw\_id=36 id=36 if\_equal=receiver:1040:4 EVENT\_SENDER hw\_id=1040 id=1045 fwd\_id=led:44 EVENT\_LED hw\_id=44 id=44 if\_equal=receiver:1040:5 EVENT\_SENDER hw\_id=1040 id=1046 fwd\_id=led:52 EVENT\_LED hw\_id=52 id=52 if\_equal=receiver:1040:6 EVENT\_SENDER hw\_id=1040 id=1047 fwd\_id=led:60 EVENT\_LED hw\_id=60 id=60 if\_equal=receiver:1040:7

Best

Zam

For button, Sysex trick only one way, MIOS can send it but not receive it.

For led, all them triggered by value (on/off with formatting) and activated only if zone value match

Best

Zam

Thank you!! It is all working now! 

I guess as a side note, do you think there could be a way to make the mutes not flash when you solo a channel? 

4 hours ago, 2hb said:

I guess as a side note, do you think there could be a way to make the mutes not flash when you solo a channel? 

Yes should be possible, certainly different options, with conditional at NGC, or set_active at NGR.

However you have to think it a little further as you may have domino effect with the mute function if you just do a basic logic

You have to define situation you don’t want the flash without locking the mute LED for simultaneous state you need a mute…

Best

Zam