Forum Discussion
Text to Speech pronunciation problems
Hello Danielle,
Happy to help!
I went through the documentation explaining how to use the <say-as> tag and its use might be different from the effect you're trying to achieve. In any case, here's the correct syntax if you want to play around with the tag:
<speak>Welcome to the Strategic Discipline course introducing the Quartile and Quad <say-as interpret-as="value">A nal i sis</say-as></speak>
You'll need to replace the word "value" in the script with any one of these that are best suited to your design:
-
characters
orspell-out
: Spells out each letter of the text, as in a-b-c. -
cardinal
ornumber
: Interprets the numerical text as a cardinal number, as in 1,234. -
ordinal
: Interprets the numerical text as an ordinal number, as in 1,234th. -
digits
: Spells out each digit individually, as in 1-2-3-4. -
fraction
: Interprets the numerical text as a fraction. This works for both common fractions such as 3/20, and mixed fractions, such as 2 ½. See below for more information. -
unit
: Interprets a numerical text as a measurement. The value should be either a number or a fraction followed by a unit with no space in between as in1/2inch
, or by just a unit, as in1meter
. -
date
: Interprets the text as a date. The format of the date must be specified with the format attribute. See below for more information. -
time
: Interprets the numerical text as duration, in minutes and seconds, as in1'21"
. -
address
: Interprets the text as part of a street address. -
expletive
: "Beeps out" the content included within the tag. -
telephone
: Interprets the numerical text as a 7-digit or 10-digit telephone number, as in2025551212
. You can also use this value for handle telephone extensions, as in2025551212x345
. See below for more information.
Hope this helps!