up Inquisit Language Reference

soundCapture property

Indicates whether a recording of audio is captured during the expt, block, or trial.

Member of

<block> <expt> <likert> <openended> <slidertrial> <survey> <surveypage> <trial>

Syntax

event.name.soundCapture

Read/Write

Type

boolean

Remarks

A value of true or 1 indicates the soundCapture will be saved, false or 0 indicates it will not. Changes to this property must be made before the expt, block, or trial runs.

Examples

The following displays the value of soundCapture in a text stimulus:

<text myText>
/ items= ("soundCapture = <% trial.q1.soundCapture %>")
</text>

The following displays the value of soundCapture in an instruction page:

<page myPage>
soundCapture = <% trial.q2.soundCapture %>
</page>

The following enables recording if the subject was taking longer than expected in the last block:

<block myBlock>
/ trials=[1-5=practicetrial; 6-10=testtrial)]
/ onBlockBegin=[if (values.lastblockresponseTimes > 1000) block.myBlock.soundCapture = true]
</block>

Copyright Millisecond Software, LLC. All rights reserved.