############################################################## # # NEW MC2020 SECTION (MACRO OPERATIONS) # ############################################################## [MACRO_DEFINTIONS_START] #NUMBER 1-10 # ,ACTION ON/OFF # , ,AREA # , , ,FCN # , , , ,VALUE # , , , , ,STATE # , , , , , ,TEXT8 #4 , 4 , 12 , 12 , 12 , 4 8 #---,----,------------,------------,------------,----,-------- 1 , ,ROUTER ,PGM_INPUT ,16 ,ON , 1 , ,CONTROL ,DONE , , , Possible Entries for AREA are always TEXT and can be any of the following CONTROL - controls the flow of macros, loops, delays etc AUDIO_ONLY - Audio Only section controls ROUTER - controls to select source buttons, assign sources etc TRANS_CNTRL - Trans Control Area to do TAKE and PREROLL type operations TRANS_SELECT - (NOTHING IMPLEMENTED AT THIS TIME) PANEL_MISC - Limited to the MACRO Operations right now GRAPHICS - allows control of graphics PRESETS selections KEYER_1 KEYER_2 KEYER_3 KEYER_4 GRAPHICS Entries for FCN FIELD are always TEXT and vary based on the AREA field entry. The remaining fields (VALUE, STATE, TEXT8 vary greatly based on the AREA and FCN entries. Entries in VALUE, STATE, TEXT8 are not always the same for a single AREA entry, in effect they can change based on the FCN field. General structure for a macro should follow these guidelines 1. a START ELEMENT with an action set to ON 2. (OPTIONAL) from 1 to (n) additional elements performing additional operations executed when the macro is turned on. 3. (OPTIONAL) a ELEMENT with an action set to OFF 4. (OPTIONAL) from 1 to (n) additional elements performing additional operations executed when the macro is turned off. 5. a stop ELEMENT with a FCN set to CONTROL and a VALUE set to DONE. 6. All elements associated with the same macro must have the same value in the NUMBER field ############################################################## # # CONTROL MACRO ENTRY # ############################################################## CONTROL - controls the flow of macros, loops, delays etc FCN DELAY- Delays this number of frames then continues uses valus as frames to delay VALUE - Number of frames to delay STAT - NOT USED set to spaces TEXT8 - NOT USED set to spaces FCN LOOP - really a jump/goto instruction. jumps to MACRO/ELEMENT VALUE - ID of macro to jump to STAT - ELEMENT - offset of event within macro to jump to TEXT8 - NOT USED set to spaces FCN DONE - causes macro status to terminate and show OFF VALUE - NOT USED set to spaces STAT - NOT USED set to spaces TEXT8 - NOT USED set to spaces ID ,ACT ,AREA ,FCN ,VALUE ,STAT,TEXT8 ----,----,------------,------------,------------,----,-------- 1 , ,CONTROL ,DONE , , , 1 , ,CONTROL ,LOOP ,N-ID ,N-EL, 1 , ,CONTROL ,DELAY ,N-FRAMES , , ############################################################## # # AUDIO_ONLY MACRO ENTRY # ############################################################## AUDIO_ONLY - Audio Only section controls FCN PVW_INPUT - Selects new input button on PVW PGM_INPUT - Selects new input button on PGM PST_INPUT - Selects new input button on PST VALUE - Button # to select STAT - ON TEXT8 - NOT USED set to spaces FCN PGM_EFFECT - Selects audio effect (OVER/UNDER) PST_EFFECT - Selects audio effect (OVER/UNDER) VALUE - NAME OF FUMCTION (OVER) STAT - ON / OFF TEXT8 - NOT USED set to spaces FCN PGM_RATIO - Selects RATIO setting in DB PGM_RATIO - Selects RATIO setting in DB VALUE - reduction in DB (0=unity, -45=OFF) STAT - NOT USED set to spaces TEXT8 - NOT USED set to spaces ID ,ACT ,AREA ,FCN ,VALUE ,STAT,TEXT8 #---,----,------------,------------,------------,----,-------- 1 , ,AUDIO_ONLY ,PVW_INPUT ,N-BUTTON ,O/OF, 1 , ,AUDIO_ONLY ,PGM_INPUT ,N-BUTTON ,O/OF, 1 , ,AUDIO_ONLY ,PST_INPUT ,N-BUTTON ,O/OF, 1 , ,AUDIO_ONLY ,PGM_EFFECT ,OVER ,O/OF, 1 , ,AUDIO_ONLY ,PST_EFFECT ,OVER ,O/OF, 1 , ,AUDIO_ONLY ,PST_RATIO ,0 - (-45) , , 1 , ,AUDIO_ONLY ,PGM_RATIO ,0 - (-45) , , ############################################################## # # KEYER MACRO ENTRY # ############################################################## KEYER_1 -> KEYER_4 - Keyer area controls FCN PGM_KEY - controls Keyer Enable for PGM keyer PST_KEY - controls Keyer Enable for PST keyer VALUE - NOT USED set to spaces STAT - ON / OFF TEXT8 - NOT USED set to spaces FCN INPUT - controls Keyer Enable for PGM keyer VALUE - SELF, EXTERNAL, LOGO STAT - ON / OFF TEXT8 - NOT USED set to spaces ID ,ACT ,AREA ,FCN ,VALUE ,STAT,TEXT8 #---,----,------------,------------,------------,----,-------- 1 , ,KEYER_1 ,PGM_KEY , ,O/OF, 1 , ,KEYER_1 ,PST_KEY , ,O/OF, 1 , ,KEYER_1 ,INPUT ,SELF ,O/OF, 1 , ,KEYER_1 ,INPUT ,EXTERNAL ,O/OF, 1 , ,KEYER_1 ,INPUT ,LOGO ,O/OF, 1 , ,KEYER_1 ,LOGO_SELECT ,N-LOGO # , , 1 , ,KEYER_1 ,MODE ,LINEAR ,O/OF, 1 , ,KEYER_1 ,MODE ,ADDITIVE ,O/OF, 1 , ,KEYER_1 ,MODE ,LUMINENCE ,O/OF, <>1 , ,KEYER_1 ,SOURCE ,N-BUTTON , ,T-S_NAME <>1 , ,KEYER_1 ,LOGO_POS_X ,N-PRCT , , ############################################################## # # ROUTER MACRO ENTRY # ############################################################## ROUTER - controls to select source buttons, assign sources etc FCN PVW_INPUT - Selects new input button on PVW PGM_INPUT - Selects new input button on PGM PST_INPUT - Selects new input button on PST VALUE - Button # to select STAT - ON TEXT8 - NOT USED set to spaces FCN SOURCE - Assigns a new source to a button VALUE - Button # to select STAT - NOT USED set to spaces TEXT8 - Name of source to assign FCN DIRECT - Make a direct take on a router output VALUE - Input Number to Switch To STAT - Output Number to Swtich to TEXT8 - Level To select (FUTURE) ID ,ACT ,AREA ,FCN ,VALUE ,STAT,TEXT8 #---,----,------------,------------,------------,----,-------- 1 , ,ROUTER ,PVW_INPUT ,N-BUTTON ,O/OF, 1 , ,ROUTER ,PGM_INPUT ,N-BUTTON ,O/OF, 1 , ,ROUTER ,PST_INPUT ,N-BUTTON ,O/OF, 1 , ,ROUTER ,SOURCE ,N-BUTTON , ,T-S_NAME 1 , ,ROUTER ,DIRECT ,N-INPUT ,N-OT, ############################################################## # # TRANS_CNTRL MACRO ENTRY # ############################################################## TRANS_CNTRL - Trans Control Area to do TAKE and PREROLL type operations FCN TAKE - Press and Release the TAKE transition control button VALUE - NOT USED set to spaces STAT - NOT USED set to spaces TEXT8 - NOT USED set to spaces FCN PREROLL - Press and Release the PREROLL Button VALUE - NOT USED set to spaces STAT - NOT USED set to spaces TEXT8 - NOT USED set to spaces ID ,ACT ,AREA ,FCN ,VALUE ,STAT,TEXT8 #---,----,------------,------------,------------,----,-------- 1 , ,TRANS_CNTRL ,TAKE , , , 1 , ,TRANS_CNTRL ,PREROLL , , , ############################################################## # # TRANS_SELECT MACRO ENTRY # ############################################################## TRANS_SELECT (NOTHING IMPLEMENTED AT THIS TIME) ID ,ACT ,AREA ,FCN ,VALUE ,STAT,TEXT8 #---,----,------------,------------,------------,----,-------- 1 , ,TRANS_SELECT,TRS_TYPE ,MIX , , 1 , ,TRANS_SELECT,TRS_TYPE ,VFADE , , 1 , ,TRANS_SELECT,TRS_TYPE ,CUTFADE , , 1 , ,TRANS_SELECT,TRS_TYPE ,FADECUT , , 1 , ,TRANS_SELECT,TRS_SPEED ,CUT , , 1 , ,TRANS_SELECT,TRS_SPEED ,FAST , , 1 , ,TRANS_SELECT,TRS_SPEED ,MIX , , 1 , ,TRANS_SELECT,TRS_SPEED ,SLOW , , ############################################################## # # PANEL_MISC MACRO ENTRY # ############################################################## PANEL_MISC - Limited to the MACRO Operations right now FCN MACRO - Send macro button control command VALUE - macro button # to control STAT - ON / OFF TEXT8 - NOT USED set to spaces ID ,ACT ,AREA ,FCN ,VALUE ,STAT,TEXT8 #---,----,------------,------------,------------,----,-------- 1 , ,PANEL_MISC ,MACRO ,N-BUTTON # ,O/OF, 1 , ,PANEL_MISC ,RELAY ,N-RELAY # ,O/OF, ############################################################## # # GRAPHICS MACRO ENTRY # ############################################################## GRAPHICS - allows control of graphics PRESETS selections FCN PRESET - control graphics preset selections VALUE - graphics preset button # to control STAT - ON / OFF TEXT8 - NOT USED set to spaces ID ,ACT ,AREA ,FCN ,VALUE ,STAT,TEXT8 #---,----,------------,------------,------------,----,-------- 1 , ,GRAPHICS ,PRESET ,N-BUTTON # ,O/OF, 1 , ,GRAPHICS ,LOCAL_EAS , # ,O/OF, 1 , ,GRAPHICS ,ALERT_PLAY , ,O/OF, ############################################################## # # SAMPLE MACRO ENTRIES # ############################################################## [MACRO_DEFINTIONS_START] # # This section defines the macros the system can perform. # See macro-definitions.txt in the software release # directory for detailed instructions on using macros # #NUMBER 1-?? # ,ACTION ON/OFF # , NUMBER 1-10 # , ,AREA # , , ,FCN # , , , ,VALUE # , , , , ,STATE # , , , , , ,TEXT8 #4 , 4 , 12 , 12 , 12 , 4 8 #---,----,------------,------------,------------,----,-------- #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # MACRO 1 to Switch PGM Router Source to EMERGENCY #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 ,ON ,ROUTER ,SOURCE ,16 , ,EMRGNCY 1 , ,CONTROL ,DELAY ,5 , , 1 , ,ROUTER ,PGM_INPUT ,16 ,ON , 1 , ,CONTROL ,DONE , , , #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # MACRO 2 to take a SQUEEZE in and OUT on each button # press #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 ,ON ,GRAPHICS ,PRESET ,1 ,ON , 2 ,OFF ,GRAPHICS ,PRESET ,1 ,OFF , 2 , ,CONTROL ,DONE , , , #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # MACRO 3 to: # run an AUDIO OVER from Audio-Only input 2, delay until # it's done, then do a squeeze and hold for OFF Press. # # When off pressed, remove the squeeze, remove the AUDIO OVER, # move PVW AUDIO ONLY back to PRIMARY ROUTER AUDIO # # ON PRESS (Going to ON) # 1. Select Audio Only input 2 ov PVW bus # 2. Switch router output 3 to input 26 # 3. Turn the PGM AUDIO OVER button ON # 4. Delay for 35 frames # 5. run a squeeze from button 1 # 6. Wait for OFF press # ON PRESS (Going to OFF) # 1. Take the Squeeze out # 2. Turn the AUDIO ONLY OVER button OFF # 3. Delay for 60 frames # 4. Switch router output 3 to input 55 # 5. select Primary PVW audio only input # 6. exit #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 ,ON ,AUDIO_ONLY ,PVW_INPUT ,2 ,ON , 3 , ,ROUTER ,DIRECT ,26 ,3 , 3 , ,AUDIO_ONLY ,PGM_EFFECT ,OVER ,ON , 3 , ,CONTROL ,DELAY ,35 , , 3 , ,GRAPHICS ,PRESET ,1 ,ON , 3 , ,CONTROL ,DELAY ,15 , , 3 ,OFF ,GRAPHICS ,PRESET ,1 ,OFF , 3 , ,AUDIO_ONLY ,PGM_EFFECT ,OVER ,OFF , 3 , ,CONTROL ,DELAY ,60 , , 3 , ,ROUTER ,DIRECT ,55 ,3 , 3 , ,AUDIO_ONLY ,PVW_INPUT ,1 ,ON , 3 , ,CONTROL ,DONE , , ,