Play Expression
Reads out data such as times, dates, numbers, digits, and alphabetical characters to the caller. |
This is useful for reading out data such as monetary values and account numbers stored in variables. To read out words and phrases (for example, "John" instead of "J", "O", "H", "N"), use the TTS action cell.
The files used for rendering data into spoken words are stored in a system prompt group (also known as an organisation-level media list), which typically contains the prompt files for a specific language.
A default (English language) group is delivered with your system and this cannot be amended or deleted. You can, however, create your own system prompt group in the storm Admin Portal. (See the Admin Portal User Guide for information on uploading media and organisation-level media lists.)
With System Prompt Group selected, choose the system prompt group containing the audio files and then select the system prompt group, or leave as 'Default' to use the provided English-language files. (See System Prompt Files.)
The Use Dynamic Media List option allows you to enter a local string variable containing the name of the system prompt group.
Phrase Type
Select the type of phrase for reading out the data.
Phrase type |
Reads |
Whole number |
An integer, string, or float value as a whole number. For example '12' is read as “twelve". |
Decimal number |
An integer, string, or float value as a decimal number. For example '1.2' is read as “one point two". |
Ordinal number |
An integer, string, or float value (in the range 1-31) as an ordinal number. For example '31' is read as “thirty-first". |
Digits |
An integer, string, or float value as individual digits. For example '12' is read as “one, two". |
Individual characters |
An integer, string, or float value as individual characters. For example 'RG12' is read as “R, G, one, two". |
Money |
An integer, string, or float value as a monetary value. For example '10.99' is read as “ten ninety nine". |
Duration |
An integer, string, or float value as a time duration. For example '123' is read as “two minutes and three seconds". |
Weekday |
An integer, string, or float value as the day of the week. For example '1' is read as “Monday", 2 as “Tuesday” and so on. (String and float values are rounded down.) For a date variable, the day element is used to calculate the day of the week, which is then read out. |
Day of month |
An integer, string, or float value as an ordinal day of the month. For example '5' is read as “fifth". (String and float values are rounded down.) For a date variable, the day element is used to calculate the day of the month, which is then read out as on ordinal value. |
Month |
An integer, string, or float value as a month. For example '1' is read as “January", 2 as “February” and so on. (String and float values are rounded down.) For a date variable, the month element is used to read out the month. |
Year |
An integer, string, or float value as a year. For example '2018' is read as “two thousand and eighteen". (String and float values are rounded down.) For a date variable, the year element is used to read out the year. |
Date |
The date elements of a date value. For example, "fourteenth of February two thousand and eighteen". |
Time |
The time elements of a date value. For example, "six fifty-five PM and twenty seconds". |
Date and time |
The date and time elements of a date value. For example, "fourteenth of February two thousand and eighteen at six fifty-five PM and twenty seconds". |
Set the text or variable to be played
Enter the integer, string, float, or date value as a literal or a local variable containing the value.
Use Termination Keys
Select this to allow the caller to press a key to stop the reading of the data.
Exit point |
Taken |
End of Prompt |
When the data has been read out. |
Termination Digit |
If the caller presses a termination key defined by the Use Termination Keys property. |
Error |
If the system prompt group/prompts could not be located. |