macros:example:halvechasespeed
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
macros:example:halvechasespeed [2017/11/20 13:23] – icke_siegen | macros:example:halvechasespeed [2019/04/27 11:26] (current) – sideshowbond | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Halve chase speed ====== | + | Example |
+ | |||
+ | ====== | ||
^ by: | Gregory Haynes, Feb 2016 | | ^ by: | Gregory Haynes, Feb 2016 | | ||
^ published: | http:// | ^ published: | http:// | ||
^ description: | ^ description: | ||
- | ^ remarks: | The problem with this code is that it requires the chase to be set as the selected playback in the editor (used for the Edit Times menu). This means that the Playback View which could be showing a cue list switches to show the chase instead, to get around this I have stored the previous selected playback and restore that afterwards but this does cause the display to flicker. | | + | ^ remarks: | The problem with this code is that it requires the chase to be set as the selected playback in the editor (used for the Edit Times menu). This means that the Playback View which could be showing a cue list switches to show the chase instead, to get around this I have stored the previous selected playback and restore that afterwards but this does cause the display to flicker. |
+ | {{tag> | ||
==== functions ==== | ==== functions ==== | ||
* [[macros: | * [[macros: | ||
Line 14: | Line 17: | ||
* [[macros: | * [[macros: | ||
* [[macros: | * [[macros: | ||
- | * [[macros: | + | * [[macros: |
+ | * [[macros: | ||
- | **This macro works perfectly well in Titan 9.1, does misbehave in 10.0 (always sets speed to 1 BPM), and throws an error in 10.1 (variable not registered).** | + | **This macro changes the speed which is stored with the chase. If you've set the user setting ' |
+ | |||
+ | **In version | ||
===== Code ===== | ===== Code ===== | ||
+ | |||
+ | ==== until Titan version 10.0 ==== | ||
<code xml halvechasespeed.xml> | <code xml halvechasespeed.xml> | ||
<?xml version=" | <?xml version=" | ||
< | < | ||
+ | <!-- This macro does not work in versions from 10.1 as the property Playbacks.Editor.Times.ChaseSpeed has been swopped for Playbacks.Editor.Times.PlaybackSpeed. --> | ||
<macro name=" | <macro name=" | ||
< | < | ||
Line 29: | Line 38: | ||
< | < | ||
<step condition=" | <step condition=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== from Titan version 10.1 ==== | ||
+ | <code xml halvechasespeed.xml> | ||
+ | <?xml version=" | ||
+ | < | ||
+ | <!-- This macro does not work in versions below 10.1 as the property Playbacks.Editor.Times.PlaybackSpeed formerly was Playbacks.Editor.Times.PlaybackSpeed. --> | ||
+ | <macro name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <step condition=" | ||
< | < | ||
</ | </ | ||
Line 38: | Line 65: | ||
This explains the functional steps within the sequence. For all the other XML details please refer to [[macros: | This explains the functional steps within the sequence. For all the other XML details please refer to [[macros: | ||
+ | |||
+ | In version 10.1, the property '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
- | * ''< | + | * ''< |
+ | | ||
* '' | * '' | ||
| | ||
Line 49: | Line 79: | ||
===== How to use it ===== | ===== How to use it ===== | ||
- | **This macro works perfectly well in Titan 9.1, does misbehave in 10.0 (always sets speed to 1 BPM), and throws an error in 10.1 (variable not registered).** | + | **Please choose the correct |
* [[macros: | * [[macros: | ||
* with a chase running and connected (Speed and Cross Fade on the wheels), triggering this macro halves the speed of the chase | * with a chase running and connected (Speed and Cross Fade on the wheels), triggering this macro halves the speed of the chase | ||
+ | * watch the user setting ' | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ |
macros/example/halvechasespeed.1511184181.txt.gz · Last modified: 2017/11/20 13:23 (external edit)