Making voice segments available to Java applications

When you run the Java and VoiceXML environment for the first time, System and Menu segments for en_US are imported automatically. To import segments for other languages, see the Installation information. You can also make voice segments available to your Java voice applications in any of the following ways (as shown in Figure 1):

  1. Record new voice segments in a studio or using a sound recorder utility, and import them from your file system, either singly or “in batch”. See Importing voice segments from the file system.
  2. Use voice segments that are already on your base Blueworx Voice Response system, and add them to the Java voice segment space. See Adding voice segments from the base Blueworx Voice Response system.
  3. Use the Call.record() method to record new voice segments in a Java voice application. refer to the Developing Java applications information for more information.
  4. Transfer them from the database on one voice response node to the database on another voice response node by exporting and then importing them. See Copying voice segments from one voice response node to another.
  5. Use the WVR.importVoiceSegment() and WVR.exportVoiceSegment() methods to import and export voice segments from a file or audio stream. See Developing Java applicationsfor more information.
Note: These voice segments are used by Java applications only, not by VoiceXML applications.
Figure 1. Alternative ways of making voice segments available to your applications
This picture shows the different ways in which you can make voice segments available to your Java voice applications.