up Inquisit Language Reference

voiceOver attribute

The voiceOver attribute specifies whether text stimulus should be read aloud by the device's text-to-speech services.

Member of

<html> <instruct> <text>

Syntax

/ voiceOver = boolean(language, gender, age, rate)

Parameters

Name Type Description
boolean boolean true or false.
language string Optional. A lowercase, two-letter (also some three-letter), ISO 639 language code (e.g., en, es, de, nl). Default is the local device language.
gender string Optional. Either male, female, or unknown. Default is female.
age string Optional. Either child, teenager, adult, senior, or other. Default is adult.
rate number Optional. The speed of the voice over, ranging from -1.0 to 1.0. The default is 0.0.

Remarks

The voiceOver attribute enables easy, automated narration of instructions and other text. The feature can be used to provide voice-only presentation of instructions, or both visual and voice presentation. The command includes optional arameters for choosing the language, gender, age, and speed of the voice to use for reading text. Inquisit will search for the best fit, prioritizing the attributes in the previously stated order. If no optional parameters are specified, the machine's default voice is used.

Examples

The following voiceovers the data file using the given password:

<text start>
/ items = &quot;The test will start when you press the spacebar&quot;)
/ voiceOver = true
</text>

Copyright Millisecond Software, LLC. All rights reserved.