Audio to text mapping is done by configuring the audio translation tables that define mapping between audio files and the annotations that are displayed to the user. These translation tables are contained in the .xml files located in the AudioToText folder of each project.

Note: The explanations in this section are provided to explain the structure of the .xml files.
In most cases, it is recommended to use the Prompts Editor for the actual translation of prompts, since when you work with the Editor, .xml files in the AudioToText folder are automatically updated.

The following example lists the set of audio files that is played during part of an IVR interaction. The script heard by the caller is displayed in blue font.

<prompt ><audio src="">
       Welcome to the banking application. 
Please choose from the following choices.</audio>
      <audio src="">
Press 1 for Deposit</audio>
      <audio src="">
Press 2 for Withdrawal</audio>
      <audio src="">
Press 3 for Check Balance</audio>
      <audio src="">
Press 4 for Transfer Funds</audio>
      <audio src=""> 
To repeat the menu, press Pound</audio>

The content of the translation table that maps these audio files is presented below. The annotations are displayed in green font, and the text presented to the user is displayed in blue font. The Option key is the value to be sent to the Voice IVR, and that value determines what content is presented to the user next. For example, pressing Withdrawal is equivalent to pressing 2 in the Voice IVR system.

<?xml version="1.0" encoding="utf-8"?>
      <directory path="">
             <prompt name="S1015.wav">{Title}Welcome to the banking application. 
Please choose from the following choices.{Options}</prompt>
            <prompt name="S1016.wav">>{Option}1=Deposit</prompt>
            <prompt name="S1017.wav">{Option}2=Withdrawal</prompt>
           <prompt name="S1018.wav">{Option}3=Check Balance</prompt>
             <prompt name="S1019.wav">{Option}4=Transfer Funds</prompt>
             <prompt name="S1020.wav"></prompt>

Note that the 1020.wav file does not require mapping, as it is not relevant to the Visual IVR. The following figure shows how the annotations are presented in a VIVR VXML Connector page: