voicerecorder.settings.log

The VoiceRecorder element is deprecated since PennController 1.8. See mediarecorder.log instead.

getVoiceRecorder(id).settings.log()

Will add a line whenever a recording starts and whenever it stops.

Note that a line with the filename of the recorded sample is always logged anyway even if you do not call .settings.log(), so you can identify it in the output archive.

[js highlight=”2″]newVoiceRecorder(“recorder”)
.settings.log()
.print()
.wait()
[/js]

Adds a recording and a playback button to the page and wait for a sample to be recorded. The filename will contain the timestamps of when the recording button was clicked: one line for the first click (start recording) and one for the second click (stop recording).