L9: States
Introduction to states in SKAARHOJ controllers enabling you to build advanced behaviours easily on your panels. We create three states to get secondary access to macro playback and audio channel management.
Summary: Kasper introduces states by comparing it to pages of functions. First he adds a new “page” - a state - called Macro in which the upper 6 keys on the controller should perform macro playback instead of the keyer and transition related functions. Then he selects a key to change the state to Macro when pressed. After adding Macro Play functions to the new states column, he demonstrates that this actually starts macro playback on the ATEM. After a quick summary of what we did, Kasper will add a third state for Audio settings. This results in a third column in the interface. Before adding actions to this state, he modifies the state selector button, U1, to cycle through states instead of toggling between the Normal and Macro state. After demonstrating the cycling function of U1 he moves on to adding actions for the Audio state. He demonstrates how we can conveniently disable the Macro column temporarily to make it more easy to add actions for the Audio state. After that, the section that groups the 6 buttons has Local Color actions added to it to color the three states differently.