up Inquisit Language Reference

soundCapture attribute

The soundCapture attribute records audio during an experiment.

Member of

<block> <expt> <likert> <openended> <sliderTrial> <survey> <surveyPage> <trial>

Syntax

/ soundCapture = boolean

Parameters

Name Type Description
boolean boolean

Remarks

The soundCapture attribute supports recording of long form verbal responses, such as an answer to an interview question. When the soundCapture attribute is set to true, audio recording starts at the beginning of the expt, block, or trial with this attribute specified after any preInstructions are presented. It continues to record records until they end or before any postInstructions are presented. Recordings are saved to wav files in a subfolder called "soundCaptures".

When used with Inquisit Web, the maximum recording time is 20 minutes.

The recording enabled by the outermost expt, block, or trial takes precedence.

Examples

The following trial records audio after presenting three stimuli until the participant clicks the mouse:

<trial q1>
/ stimulusTimes = [1=target1, target2, target3]
/ soundCapture = true
/ validResponse = (noResponse, lButtonDown)
/ timeout = 1000
/ inputDevice = mousekey
</trial>

Copyright Millisecond Software, LLC. All rights reserved.