Feedback

  • Contents
 

Record String

This Telephony tool reads the contents of a string into an audio file (.WAV) using the Text-to-Speech engine.

Inputs

Text

The text that is recorded. This can also be the string variable.

Audio File Name (.WAV)

The path to and name of the .WAV file that is to be created. If you do not include any path information, the file will be generated in the directory specified by the "TTS Audio File Directory" server parameter. If no directory is specified, it defaults to whatever the Win32 API function GetTempPath uses, which typically returns "C:\TEMP" when called from a normal application and "C:\WINNT" when called from a service.

Outputs

Length of recording

An integer approximation of the playback length. When the server is running under a reasonable load, the record time should be 2-8 times quicker than the playback time.

Exit Paths

Success

This step takes the Success exit path if the .WAV file is created.

Failure

This step takes the Failure exit path if one of the following occurs:

  • The server has no TTS engine installed.

  • The audio file already exists and is read-only.

  • The process does not have write permission in the directory specified for the audio file.

  • The string was empty or contained nothing that could be converted into "phonemes" (i.e. no audio was generated).

Related Topics

Record String Extended