audio.log
description
Will log the time/results of the action to your results file.
syntax
getAudio(ELEMENT_NAME).log()
alternate(s)
-
getAudio(ELEMENT_NAME).log("play")
-
getAudio(ELEMENT_NAME).log("pause")
-
getAudio(ELEMENT_NAME).log("end")
-
getAudio(ELEMENT_NAME).log("seek")
example(s)
@newText("instructions", "Please listen to the audio below")
@ .print()
@,
@newAudio("sentence", "test_sentence.ogg")
@ .once()
$ .log()
@ .print()
@ .wait()
@,
@newButton("validation", "Validate")
@ .print()
@ .wait()
-
Adds some instruction text to the screen and control buttons below the text. After the audio gets played, the control buttons are grayed out, and a Validate button appears below them.
-
The results file will contain as many lines for when the audio was played, paused, when it ended playing and when its position was changed by clicking the progress bar.