Determines whether or not instruction or text should be read aloud using the devices text-to-speech services (e.g., Siri on iPhones).
object.name.voiceOver
Read/Write
boolean
The property returns a boolean value of true or false. The default is false.
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 == "yes") text.instructions.voiceOver = true;}
</trial>