ME Next Transition (BKG-K1-K2-K3-K4) Functionality

2 posts / 0 new
Last post
glendora's picture
Offline

Location

Bundaberg,
Australia
Joined: 17/10/2017
Posts: 2
ME Next Transition (BKG-K1-K2-K3-K4) Functionality

After several weeks in the spare time available, I have been working through the many ATEMUser helpful posts and JM’s online reference to get an understanding of JustMacros prior to purchase. Extraordinary piece of work John. Though I have some minor experience in programming (VB6/.Net), I am not a developer by any stretch of the imagination, rather a background in television production and operations/engineering.

Using a midi control surface, I have been able to control many of the features of the ATEM TVS & 2ME, mostly emulating the ATEM software control panel switches. One part of the software I am not able to reconcile is the “Next Transition” panel, in particular, the five choices for the next transition (Background, Key1, Key2, Key3 & Key4). Some scripts will offer a single key choice, or multiple keys 1-4 choice, but do not seem to include the ‘Background’ as part of the offering.

As shown below, there are 31 possible combinations when polling the (ATEMMixerMEKeyGetInNextTransition) function and another 31 possible combinations when setting the (ATEMMixerMEKeySetInNextTransition) function, dependent on the five possible parameters set by the User on the hardware/software control surface.

 

Using If/Then statements would be a large LARGE task in itself, as I have tried this (smile). I would imagine that there is a Function/Script available to undertake this task, though nothing found thus far, encompassing all five User parameters. Some error handling (pcall) or hardware enumeration maybe required, so that the function can operate with all variants of the ATEM switchers. Turning On/Off a five-way combination switch is more difficult than I imagined. Any thoughts, ideas, suggestions would be greatly appreciated.

glendora's picture
Offline

Location

Bundaberg,
Australia
Joined: 17/10/2017
Posts: 2
Coding for the ATEM “NEXT TRANSITION”

Below are six coding blocks for the ATEM “NEXT TRANSITION”, which should work for any variants of the ATEM mixers. These represent the control functions for the nine keys within the “NEXT TRANSITION” interface. Note that the code is designed for MIDI control, but could be adapted to the X-Keys or any other programmable keyboard. It’s not an elegant solution, but it works. (Right click, to view the images) 

Hopefully this will be of some help to other Forum members.