User Tools

Site Tools


macros:example:bpmmasters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
macros:example:bpmmasters [2017/11/24 16:00] – created icke_siegenmacros:example:bpmmasters [2019/04/27 17:34] (current) – [Masters - BPM Master] sideshowbond
Line 1: Line 1:
 Example Example
  
-====== BPM Masters ======+====== Masters - BPM Master (snippet) ======
  
 ^ by: | Alex del Bondio | ^ by: | Alex del Bondio |
 ^ published: | October 2017 | ^ published: | October 2017 |
 ^ description: | Macros for double, half, tap, reset each of the BPM masters. | ^ description: | Macros for double, half, tap, reset each of the BPM masters. |
-^ remarks: | This is based on the [[macros:identifiers:titanid|fixed Titan IDs]] which we found exactly for these macros. |+^ remarks: | This is based on the [[macros:identifier:titanid|fixed Titan IDs]] which we found exactly for these macros. |
  
 +{{tag>BPM master double half speed tap tempo}}
 ==== functions ==== ==== functions ====
   * [[macros:function:Masters.DoubleOrHalfSpeedMultiplier]]   * [[macros:function:Masters.DoubleOrHalfSpeedMultiplier]]
Line 14: Line 15:
   * [[macros:function:Masters.ResetSpeedMultiplier]]   * [[macros:function:Masters.ResetSpeedMultiplier]]
  
-The file {{ :macros:example:adb_bpmmaster.xml }} has the macros already written for all 4 BPM masters. Here, we use BPM master 1 to explain it.+{{ :macros:example:adb_masters.xml }} is a newer version with additional macros to set Multiplier on all BPM Masters simultaneously and to reset all multipliers as well as rate and size master macros. 
 + 
 +The file {{ :macros:example:adb_bpmmaster.xml }} has the macros already written for all 4 BPM masters **(Titan v10)**. Here, we use BPM master 1 to explain it. 
 + 
 +**The Titan IDs have slightly changed from v10 to v11 see [[macros:identifier:titanid]], and while the mentioned reserved IDs are a good starting point, there is no guarantee they haven't changed in your show. If these macros do not work for you then try to find the Titan IDs of your masters and adjust the macros accordingly.**
  
 ===== Code ===== ===== Code =====
-<code xml bpmmasters.xml+<code> 
-<?xml version="1.0" encoding="utf-8"?> +These are examples for BPM Master 1. For other BPM Master please refer to the Titan IDs mentioned above 
-  <macro id="Avolites.Macros.BPM1half" name="adb_BPM1 /2"+ 
-    <sequence+Tap 
-      <step>Masters.DoubleOrHalfSpeedMultiplier(1607,false)</step> +    <step>Masters.TapTempo(1607, Math.GetCurrentTimeStamp())</step> 
-    </sequence+ 
-  </macro>+Set to 85bpm (if the BPM Master on the console is set to multiplier on fader this macro will change the multiplier) 
 +    <step>Masters.SetSpeed(1612, 85.000)</step
 + 
 +Half Multiplier 
 +    <step>Masters.DoubleOrHalfSpeedMultiplier(1607,false)</step> 
 + 
 +Double Multiplier 
 +    <step>Masters.DoubleOrHalfSpeedMultiplier(1607,true)</step
 + 
 +Set Multiplier to a specific value 
 +    <step>ActionScript.SetProperty("Masters.SelectedMaster", handle:"masterHandleID=1612")</step> 
 +    <step>ActionScript.SetProperty("Masters.OptionsEditor.SingleSelection.SpeedMultiplier", double:2)</step> 
 + 
 +Reset Multiplier 
 +    <step>Masters.ResetSpeedMultiplier(1607)</step>
  
-  <macro id="Avolites.Macros.BPM1tap" name="adb_BPM1 tap"> +Freeze (temporarily set to 0) 
-    <sequence> +    <step>Masters.DeadBlackOut(1612)</step>
-      <step>Masters.TapTempo(1607, Math.GetCurrentTimeStamp())</step+
-    </sequence> +
-  </macro>+
  
-  <macro id="Avolites.Macros.BPM1double" name="adb_BPM1 *2"> +Unfreeze 
-    <sequence> +    <step>Masters.ClearFlash(1612)</step>
-      <step>Masters.DoubleOrHalfSpeedMultiplier(1607,true)</step+
-    </sequence> +
-  </macro>+
  
-  <macro id="Avolites.Macros.BPM1*1" name="adb_BPM1 *1"> 
-    <sequence> 
-      <step>Masters.ResetSpeedMultiplier(1607)</step> 
-    </sequence> 
-  </macro> 
-</avolites.macros> 
 </code> </code>
  
macros/example/bpmmasters.1511539244.txt.gz · Last modified: 2017/11/24 16:00 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki