Text-to-speech tool can handle normal punctuation, such as pausing after a period, or speaking a sentence ending in a question mark as a question. However, in some cases, you may want additional control over how the text-to-speech tool generates the speech from the text within an assessment.
For example, you may want a longer pause within the speech, or you may want a string of digits read back as a standard telephone number. The Custom Speech tool provides this type of control with Speech Synthesis Markup Language (SSML) support.
SSML is a markup language that provides a standard way to mark up text for the generation of synthetic speech. A subset of the tags defined in the SSML specification are supported. The following supported tags are available for Item Bank assessments:
-
Pause: Add a pause
- 1-10 seconds
- Strength of Medium, Strong, X-Strong
-
Emphasis: Emphasize words
- Emphasis of Strong, Moderate or Reduced
- Paragraphs: Add a pause between paragraphs
-
Prosody: Control volume, speaking rate, and pitch
- Volume: Default, Silent, X-Soft, Soft, Medium, Loud, X-Loud
- Rate: X-Slow, Slow, Medium, Fast, X-Fast
- Pitch: Default, X-Low, Low, Medium, High, X-High
- Sentences: Add a pause between sentences
-
Say-as: Control how special types of words are spoken
- Spell Out
- Number
- Ordinal
- Digits
- Fraction
- Units
- Time
- Address
- Expletive
- Telephone
- Sub: Substitute words or sentences
-
Pronunciation: Specify the parts of speech
- Interprets the word as a verb (present simple)
- Interprets the word as past tense or as a past participle
How to Use Custom Speech - SSML Markup
Custom Speech can be applied during item creation or assessment creation. Custom Speech added during item creation will display during assessment creation, but is editable. Item level Custom Speech would be used when you want to apply the Custom Speech to all assessments that include the item. Assessment level Custom Speech would be useful when the Custom Speech should only apply to a single item or if the assessment creator does not have access to edit the item. If Custom Speech is added to an item that is already a part of an unpublished assessment, the user must accept the edits at the assessment level for the Custom Speech to display.
Item Level
- Navigate to the Preview & Publish Tab of Item Creation for an unpublished item.
- Select Online Markup.
- Once you click the Online Markup button, you will be taken to the Markup Panel.
- Highlight text to which you would like to add SSML Custom Speech
- Select the Custom Speech button.
- The Custom Speech (SSML) Editor will launch.
- You may select the custom speech tags to apply to the selected text by clicking on the blue buttons at the top of the window. Clicking many of the custom speech options will launch a pop-up that contains selections.
- You can hear how the text will sound without SSML markup by clicking the Speech button to the right of Selected Text.
- The example is what displays for the Sub tag.
- Once a selection is added, it will be reflected in the Custom Speech (SSML) section of the Custom Speech (SSML) Editor.
- The button will turn orange to indicate that the custom speech was applied. You can apply more than one tag for the selected text.
- Once the Add Markup button is clicked, users will be taken back to the Markup Panel.
- Text that has custom speech applied will display in blue. Hovering over the text will display Play and Delete buttons. Clicking Play will play the text with the custom speech applied. Clicking Delete will delete the custom speech for the selected text.
Assessment Level
- Navigate to the Summary Tab of assessment setup for an unpublished assessment.
- Select Online Markup.
- Once you click the Online Markup button, you will be taken to the Markup Panel.
- Highlight text to which you would like to add SSML Custom Speech.
- Select the Custom Speech button.
- The Custom Speech (SSML) Editor will launch.
- Select the custom speech tags to apply to the selected text by clicking on the blue buttons at the top of the modal.
- You can hear how the text will sound without SSML markup by clicking the Speech button to the right of Selected Text.
- Once a selection is added, it will be reflected in the Custom Speech (SSML) section of the Custom Speech (SSML) Editor.
- The button will turn orange to indicate that the custom speech was applied. You can apply more than one tag for the selected text.
- Select the Add Markup button and users will be taken back to the Markup Panel.
- Once the Add Markup button is clicked, users will be taken back to the Markup Panel.
- Text that has custom speech applied will display in blue. Any custom speech applied at the item level will also display in blue.
- Hovering over the text will display Play and Delete buttons. Clicking Play will play the text with the custom speech applied. Clicking Delete will delete the custom speech for the selected text.
Online Preview
Within the Online Preview or the Student Portal, when users use the text-to-speech tool, they will hear the text with the modifications that have been applied in assessment setup.