Feedback

  • Contents
 

Record Text File

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

Inputs

Text File Name (.txt)

The name of the file containing the text that is recorded.

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

The length of the recording in seconds.

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).

  • The specified text file could not be accessed.

Related Topics

Record Text File Extended