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>

Remarks

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

Examples

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

<trial voiceovercheck>
/ stimulusframes=[1=voiceover_question, yes, no]
/ validresponse = (yes, no)
/ ontrialend = [ if(trial.voiceovercheck.response == "yes") text.instructions.voiceover = true;]
</trial>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.