Example
by: | Sebastian Beutel, March 2020 |
---|---|
published: | here |
description: | flashes a playback and stopwatches the time this is activated |
remarks: | idea: https://www.facebook.com/groups/1811437589141428/permalink/2606214156330430/ use this to stopwatch the time a CO2 jet is activated see also Timecode - Start/Stop |
<?xml version="1.0" encoding="utf-8"?> <!-- flash playback 900 while being held and use timecode 1 as stopwatch --> <avolites.macros> <macro id="wiki.Macros.timecode.one.stopwatchflash" name="Stopwatch Timecode 1 with PB900 flash"> <description>Stopwatch Timecode 1 with PB900 flash</description> <start> <step>Playbacks.FlashPlayback("cueHandleUN=900")</step> <step>Timecode.TimecodeOne.Play()</step> </start> <end> <step>Playbacks.ClearFlashPlayback("cueHandleUN=900")</step> <step>Timecode.TimecodeOne.Pause()</step> </end> </macro> </avolites.macros>
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
This macro sports separate actions when being clicked/pressed and when being released.
When the macro button/key is pressed the <start> sequence is performed:
Playbacks.FlashPlayback(“cueHandleUN=900”)
flashes a particular playbackTimecode.TimecodeOne.Play()
makes a particular timecode runWhen the macro button/key is released the <end> sequence is performed:
Playbacks.ClearFlashPlayback(“cueHandleUN=900”)
un-flashes the playback which was previously flashedTimecode.TimecodeOne.Pause()
pauses the timecodeNow, while this macro is activated, the timecode runs and the playback is being flashed.
Further hints:
Timecode.TimecodeOne
for e.g. Timecode.TimecodeFour
in order to use another timecode). Also make sure the timecode you use is set to be internal as play/pause will not work on all timecode sources or will have unexpected results.