next up previous contents
Next: 11.2 The Hybrid Method Up: 11 IVR Previous: 11 IVR   Contents


11.1 Voice Recordings

Keywords:

Messages to be played by script items are saved in wave files. These are stored in a directory on the computer running the IVR survey. They are referred to within a script item by keywords. The recordings are identified within an item by means of a keyword. Alternatively, if the keyword is set to SILENT then no recording is played.

Several items can share a single keyword and several keywords can be used in one item. For example, the recorded message

``Thank you.''
is commonly used. It may be assigned a keyword such as THANKS. An example of such an item is shown in Figure 29. Although items can share keywords, the keywords themselves should be uniquely associated with individual voice recordings.

Figure 29: Example of a IVR script item that with a specific keyword. The keyword here is: THANKS.
\begin{figure}\begin{small}
\begin{verbatim}**********************************...
...he system will now hang up.
THANKS
NOWAIT\end{verbatim}
\end{small}
\end{figure}

If the keyword is left blank then the item's name is used as the keyword. This is this most common situation. A blank keyword results will cause the compiler to add a keyword of the same name as the item to PHRASES. An example of such an item is shown in Figure 30.

Figure 30: Example of a IVR script item that uses a blank keyword on line 9 to select a voice recording. The keyword IQ02 will be added to PHRASES.
\begin{figure}\begin{small}
\begin{verbatim}CHCE 1 2 IQ02 5 YNDRFMT LABEL
INTR...
...s
YES
2 2 No
NO
Remember receiving letter\end{verbatim}
\end{small}
\end{figure}



Wave Files: When the recording is to be played GEIS searches the PHRASES data set for the keyword. This data set lists the physical locations of the recordings. For example, an item Q3 may have a keyword Q3msg, which could correspond to the wave file \GEIS\PROJECTS\MYIVR\PHRASES\Q3MSG.WAV.


Making Recordings: Voice recordings may be made by any software capable saving of creating wave files. Usually some editing and filtering is needed to produce a recording of acceptable quality. GEIS does not provide a recording function since this is better done by more specialised software. However, an interface is provided that displays the question texts and allows the locations of the recordings to be stored in the PHRASES data set. The process is outlined below.

  1. Prepare a script as with CATI. The voice keywords may be left blank unless the same recording is to be used for multiple items.

  2. Compile the script. The compiler will insert the keywords into the PHRASES data set unless they are already present.

  3. The script may be tested without recordings as if it were a CATI interface by selecting the menu option CATI in the control panel.

  4. Run another software to record the messages as wave files and save them to a suitable directory.

  5. Store the message locations in GEIS. To do this, click the Develop and then Utility functions. Select PHRASES Editor.

  6. In the editor, select a keyword.

  7. Click Filename. A browse window opens. Select the wave file that has been recorded for that item and close the browse window. This saves the message filename location for the keyword within the PHRASES data set.

  8. Click another keyword.

  9. Repeats steps 6, 7, and 8 for each keyword.

  10. Exit the editor.




Answer-Quoting in IVR: Answer-quoting25 may be used in IVR. This is done by specifying the variables to be quoted within the keyword line. In the example shown in Figure 31 the
``...message will repeat ^_NRPT_^ times. ``
results in a spoken message such as this:
``...message will repeat 3 times.``
Other options set in this example cause the item to repeat three times with a 10 second delay if no key presses are detected.

The keyword expression is: HALLO_C|F,^_NRPT_^,TIMES|F. It has three parts separated by commas. The first part HALLO_C|F and third part TIMES|F are a single keywords. The |F indicates that they refer to file recordings. The second part ^_NRPT_^ lacks a |F because it does not refer to a voice recording. Instead, it is a system quote that plays the number of times an item's recording has been repeated.

Figure 31: Example of answer-quoting within a IVR script item.
\begin{figure}\begin{small}
\begin{verbatim}CHCE 1 11 HALLO_C 2 _MAKE_ LABEL
C...
... 9
0 0 key 0
1006 -1 Timeout
3 10
Intro C\end{verbatim}
\end{small}
\end{figure}


next up previous contents
Next: 11.2 The Hybrid Method Up: 11 IVR Previous: 11 IVR   Contents
Ross Corkrey 2006-02-14