Example
by: | Sebastian Beutel, August 2021 |
---|---|
published: | here |
description: | toggle DJ Triggers on/off |
remarks: | see https://www.facebook.com/groups/Avolites/posts/2286963858102502/ |
<?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>
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.