up Inquisit Language Reference

sound element

The sound element defines a set of sound stimuli.

Attributes

<sound name>
/ erase = true
/ erase = true(colorname)
/ erase = false

/ items = itemname
/ items = (file, file, file,... )

/ loop = boolean
/ onAnimate = { script }
/ pan = integer
/ playThrough = boolean
/ volume = integer
/ onPrepare = { script }
/ resetInterval = integer
/ select = selectmode(stimulus)
/ select = selectmode(list)
/ select = selectmode(integer, integer, integer, ...)
/ select = list
/ select = selectmode
/ select = index

/ selectionRate = rate
</sound>

Properties

sound.name.loop
sound.name.pan
sound.name.volume
sound.name.currentIndex
sound.name.currentItem
sound.name.currentItemNumber
sound.name.currentValue
sound.name.erase
sound.name.itemCount
sound.name.items
sound.name.nextIndex
sound.name.nextValue
sound.name.playThrough
sound.name.resetInterval
sound.name.selectedCount
sound.name.selectedIndex
sound.name.selectedValue
sound.name.skip
sound.name.stimulusOnset
sound.name.timestamp
sound.name.unselectedCount
sound.name.name
sound.name.typeName

Functions

sound.name.appendItem
sound.name.clearItems
sound.name.insertItem
sound.name.item
sound.name.removeItem
sound.name.resetSelection
sound.name.setItem

Remarks

The sound element determines how individual items are selected on each trial (e.g. serially through item list, random selection without replacement, linked to the selection of items from another stimulus element) and how those items should be presented (e.g., left/right pan and volume).

Examples

The following defines a set of sounds to be presented to the left speaker:

<sound rock>
/ items = ("beatles.wav", "stones.wav", "thewho.wav")
/ pan = -10000
</sound>

Copyright Millisecond Software, LLC. All rights reserved.