User Tools

Site Tools


macros:example:bpmmasters

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
macros:example:bpmmasters [2018/10/16 10:21]
icke_siegen [functions]
macros:example:bpmmasters [2019/04/27 12:48]
sideshowbond [Code]
Line 1: Line 1:
 Example Example
  
-====== ​BPM Masters ======+====== Masters ​- BPM Master ​======
  
 ^ by: | Alex del Bondio | ^ by: | Alex del Bondio |
Line 14: Line 14:
   * [[macros:​function:​Math.GetCurrentTimeStamp()]]   * [[macros:​function:​Math.GetCurrentTimeStamp()]]
   * [[macros:​function:​Masters.ResetSpeedMultiplier]]   * [[macros:​function:​Masters.ResetSpeedMultiplier]]
 +
 +{{ :​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 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.
Line 20: Line 22:
  
 ===== 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 
-<avolites.macros xmlns:​xsi="​http://​www.w3.org/2001/​XMLSchema-instance"​ xsi:​noNamespaceSchemaLocation="​Avolites.Menus.xsd"​+ 
-  <macro id="​Avolites.Macros.BPM1half"​ name="​adb_BPM1 ​/2"+Tap 
-    <sequence+    ​<step>​Masters.TapTempo(1607,​ Math.GetCurrentTimeStamp())<​/step
-      <​step>​Masters.DoubleOrHalfSpeedMultiplier(1607,​false)</​step>​ + 
-    </sequence+Set to 85bpm (if the BPM Master on the console is set to multiplier on fader this macro will change the multiplier) 
-  </macro>+    <​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.txt · Last modified: 2019/04/27 19:34 by sideshowbond