<!ELEMENT recording (recinstructions?, recprompt, reccomment?) > <!ATTLIST recording itemcode CDATA #REQUIRED recduration CDATA #IMPLIED prerecdelay CDATA #IMPLIED postrecdelay CDATA #IMPLIED finalsilence CDATA #IMPLIED beep CDATA #IMPLIED rectype CDATA #IMPLIED blocked CDATA #IMPLIED annotationTemplate CDATA #IMPLIED > |
<recinstructions> may have the attributes mimetype and src to allow instructions to be read in from an external source (see C for details).
The attribute itemcode of <recording> is mandatory. It uniquely identifies a recording item. itemcode can be an arbitrary string – however, because the itemcode becomes part of the audio file name, it may not contain characters that have a special meaning in the file system (see C for details).
recduration specifies the recording time in milliseconds. The default is to record infinite. prerecdelay and postrecdelay specify in milliseconds a time span during which recording is active, but the the prompt is still inactive (see 2 for details).
The finalsilence attribute is reserved for silence detection. Silence detection is currently not implemented, the attribute has no effect!
The only rectype currently supported is audio. Default is audio.
The blocked attribute is of booelan type and determines if playback of a media prompt (i.e. a audio clip) blocks recording. If blocked is set, recording starts when playback of the prompt has finished. If not set playback of the prompt and recording start at the same time.
<recording prerecdelay="2000" recduration="20000" postrecdelay="500" itemcode="demo_001"> <recprompt> ... </recprompt> </recording> |