Rss Categories

TTS Editor Reference

Reference Number: AA-01597 Views: 18049 0 Rating/ Voters

The Text To Speech Editor screen is used to build new SSML documents or troubleshoot existing ones.

The Text To Speech Editor tab is divided into 3 frames that will be referred to as :

Text To Speech Editor Frame

Main frame in the middle

Audio Frame

Frame on bottom left

SSML List Frame

Frame on bottom right

Text To Speech Editor Frame

This is the main frame in which SSML documents are built or edited. A new SSML document can be created using 

File > New > New SSML 

An existing SSML document can be selected from the SSML List Frame on the lower right corner by right clicking on the document and selecting Edit SSML.

Whenever editing SSML documents using this editor, context-aware auto-complete will assist you in providing hints as to options available to you, as well as showing common lists of available parameters and values where available. Auto-complete will automatically appear as you type, allowing you to select from a list of the displayed options.

TTS Auto-Complete


There are 3 buttons below the Text To Speech Editor Frame that assist in TTS/SSML editing: 

Once the SSML document is completed, you can test it to see how it sounds by pressing the Speak button. Any errors detected in the document or during synthesis will be shown to the right of the buttons (you can also see errors by right-clicking on an SSML document in the list and viewing properties for it). 

This saves the SSML document being edited in Speech Tuner. This does not save a copy to the original file location. It just saves a copy in memory so that changes are not lost while you edit a different document.

Reverts out all changes made to the SSML document. If the document was originally loaded from file, this button returns the SSML document to the original text loaded from the file. If the SSML was edited by creating a new SSML document in the Speech Tuner, using this button will revert it back to default SSML creation template i.e. reverts all your changes so care should be taken while reverting documents.

 An additional selection to the right allows you to toggle between working with UTF-8 encoded text and ISO-8859 encoded text. This can be useful if you are pasting text from an external document for example, and need to adjust for the encoding.

When working with non American English languages, or with words using the extended ASCII character set, it is important to select the appropriate character encoding format to ensure that those extended characters (typically accented characters) are correctly maintained. The editor will attempt to auto-detect the character encoding format of your SSML documents, so you may not need to adjust this setting.

Audio Frame

This area displays the audio control, showing the waveform generated by syntheses, which can be played by clicking the  Speak button.

Right-clicking in the Audio Frame will allow you the option of saving the synthesized audio to file in .WAV format.

SSML List Frame

This is the lower right frame. It displays the same information as shown in the summary view. This area displays a list of SSML documents used in the currently loaded call data. For each SSML document, you can see its URL, the number of times it is referenced by interactions, along with a summary of the start of the document.

Right-clicking an SSML document from the list brings up a context menu with the following options:

Opens the SSML document in the Text To Speech Editor Frame

Keep Selection
Filters out all interactions that do not use this SSML document.

Exclude Selection
Filters out all interactions that use this SSML document.

Save Data to File...
Allows you to save the list of SSML documents to a file.

Displays advanced information about the SSML document, including error or warning messages and debug information.

Using the TTS Editor

Double-clicking on an SSML document from the list will open it in a new tab within the Editor window. If the document was previously loaded into a tab within the Editor Window, this tab will be activated, and the SSML document displayed in the Editor.

To close a document that is open within on of the Editor's tabs, you can click the middle mouse button on the tab.

Right-clicking on a tab in the Editor Frame will bring up a context menu with the following options:

Closed the selected tab and related SSML document.

Allows you to save the corresponding SSML document to a file you specify.

Displays advanced information about the SSML document, including error or warning messages and debug information.

The editor toolbar is available at the top of the window includes some useful shortcut buttons for use when editing

CutCopyPasteUndoRedo toolbar options are also available from the Edit menu.

The Search toolbar option is also available from the Search menu (along with a Replace option)

Word-Wrap and Show Line Ends toolbar options are also available from the View menu.

The options shown when clicking the View SSML List button on the toolbar are also available in the View menu. These options include how the SSML List Frame should be shown, from the following options:

Show SSML List
A list of the available SSML documents is shown in the list. Double clicking on one of these will open it in the editor

Show Voice List
A list of available voices is shown, providing a reference of all languages and related voice names for our TTS products.

Hide Lists
The SSML List Frame is hidden from view, allowing the audio waveform view to span the entire width of the view. When either of the above two lists is shown, the vertical bar between the audio waveform and the list can be moved to the left or right using the mouse as needed.