srthreshold attribute

The srthreshold attribute specifies how loud voice input must be to trigger Inquisit's voice key.

Applies to

<response>

Syntax

/ srthreshold = srthreshold = integer

Parameters

integer A integer value ranging from 1 to 100.

Remarks

The threshold is specified on a scale from 1 to 100. A threshold of 1 indicates that any detected sound qualifies as a response, and 100 indicates that only sounds that match the sound card's loudest levels qualify as a response. The appropriate setting will vary depending on the microphone and the audio system. The default setting is 50.

Examples

The following implements a voice key response that registers any sound that exceeds 20 on a scale of 1 to 100:

<response windowprocedure>
/ srsignal = sound
/ srthreshold = 20
</response>


Send comments on this topic.
1999-2006 Millisecond Software, LLC. All rights reserved.