SignalIn.Trigger Method

Boolean Trigger(TSignal SignalLeft, TSignal SignalRight)

Call Trigger function with a frequency high enough, so that wave data buffers will not get overrun.

#NameDescription
1SignalLeft
2SignalRight

Returns: Boolean

Remarks:

If a trigger condition is found, the data is placed in the SignalLeft and/or SignalRight and the function returns True. SignalLeft or SignalRight can be null, if not required.

DataChannel defines the left (0) or right (1) channel from which the data should be obtained, once the trigger condition is meet on the TriggerChannel. Above and Below define the upper and lower limit for the trigger (see Dew.Signal.Audio.TriggerType) and Delay defines the user defined trigger Delay. (See Dew.Signal.Audio.SignalIn.TriggerPosition). Triggered channel can be reset by reseting Triggered array to False, or by calling the ResetTrigger method.