The sound stimuli as buttons
A stimulus
followed by one or more mp3
or wav
files will be rendered as a button that will play a sound file on being pressed.
The visible form can be set by a description after the stimulus
keyword (this can be folowed by the form of display. The stimulus(button)
will display a button. This is a predefined behavior and does not have to be defined.
test demo1zvuky
screen First screen
stimulus 1.wav

Play a part of the sound only
A playback start and stop time can be defined in squared brackets (in miliseconds). This defines the played part of the sound file eg.'stimulus 1.wav [200,500]' will play a part of the sound in the 200 to 500 milisecond interval.
test demo1sounds
screen First screen
stimulus 1.wav [200,500]
Playback of multiple sounds on a single page
Multiple buttons will appear if more than one sound files are defined in a single row. Unless otherwise stated, it will appear in order according to the test definition.
screen Sounds on a line
stimulus 1.wav 2.wav

screen Sounds on multiple rows
stimulus 1.wav
stimulus 2.wav

Last updated