AVOLITES TITAN API

AddAudioTrigger

Adds an audio trigger the the specified trigger map.

Namespace: Triggers

Syntax

MACRO

Void Triggers.AddAudioTrigger(Int32 mappingId, TriggerTargetData targetData, Int32 panelIndex, Int32 frequencyBand, Int32 threshold, Boolean useLevelMatching)

HTTP

http://[ip]:4430/titan/script/2/Triggers/AddAudioTrigger?mappingId={titanId}&targetData={}&panelIndex={titanId}&frequencyBand={titanId}&threshold={titanId}&useLevelMatching={bool}

Parameters

mappingId ( Int32 ) : The trigger mapping to add this trigger to.

targetData ( TriggerTargetData ) : The item to be triggered.

panelIndex ( Int32 ) : The index of the USB panel to listen to.

frequencyBand ( Int32 ) : The audio frequency band to trigger from.

threshold ( Int32 ) : Not Used

useLevelMatching ( Boolean ) : Not Used

useLevelMatching

HTTP Example:
http://localhost:4430/titan/script/2/Triggers/AddAudioTrigger?mappingId={titanId}&targetData={}&panelIndex={titanId}&frequencyBand={titanId}&threshold={titanId}&useLevelMatching=true