User Tools

Site Tools


macros:example:pioneerdjtriggersenable

Example

Enable/Disable Pioneer DJ Triggers

by: Sebastian Beutel, August 2021
published: here
description: toggle DJ Triggers on/off
remarks: see https://www.facebook.com/groups/Avolites/posts/2286963858102502/

functions

Code

DJLinkOnOff.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
  <macro id="Wiki.Macros.DJLink.EnableBPM" name="DJ - Enable BPM Triggers">
    <sequence>
      <step>PioneerDJ.SetBPMTriggersEnabled(true)</step>
   </sequence>
  </macro>
  <macro id="Wiki.Macros.DJLink.DisableBPM" name="DJ - Disable BPM Triggers">
    <sequence>
      <step>PioneerDJ.SetBPMTriggersEnabled(false)</step>
   </sequence>
  </macro>
</avolites.macros>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

The used function directly sets the BPM triggers to enabled/disabled depending from the parameter.

How to use it

  1. Copy these macros to a button and use this to enable/disable BPM triggers (similar to the switch in the PioneerDJ workspace window).
You could leave a comment if you were logged in.
macros/example/pioneerdjtriggersenable.txt · Last modified: 2021/08/22 13:34 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki