up Inquisit Language Reference

voiceOver property

Determines whether or not instruction or text should be read aloud using the devices text-to-speech services (e.g., Siri on iPhones).

Member of

<html> <instruct> <text>

Syntax

object.name.voiceOver

Read/Write

Type

boolean

Remarks

The property returns a boolean value of true or false. The default is false.

Examples

The following trial asks the participant whether to enable voice over, and sets the voiceOver property to true if they select yes:

<trial voiceovercheck>
/ stimulusTimes=[0=voiceover_question, yes, no]
/ validResponse = (yes, no)
/ onTrialEnd = { if (trial.voiceovercheck.response == &quot;yes&quot;) text.instructions.voiceOver = true;}
</trial>

Copyright Millisecond Software, LLC. All rights reserved.