|
| insert a break |
 |
Sun, 18 Mar 2007 23:40:29 +010 |
Hi,
I need to pompt a variable which is created in a javascript.
The variable is a text created from a list of values.
I tried to insert a <vxml:break /> between each values.
Let me give you an example: text_var = "apple <vxml:break /> pear
<vxml:break /> lemon".
But executing the code <vxml:value expr="text_var" /> the TTS
did not insert
the pause given by the <vxml:break /> code. The TTS read "apple pear
lemon".
Is there a way to insert a break inside a text variable readable by the TTS?
Thanks in advantage.
Antonella.
|
| Post Reply
|
| Re: insert a break |
 |
Wed, 06 Jun 2007 10:04:23 -040 |
Nella wrote:
> Hi,
> I need to pompt a variable which is created in a javascript.
> The variable is a text created from a list of values.
> I tried to insert a <vxml:break /> between each values.
> Let me give you an example: text_var = "apple <vxml:break />
pear
> <vxml:break /> lemon".
> But executing the code <vxml:value expr="text_var" /> the
TTS did not insert
> the pause given by the <vxml:break /> code. The TTS read "apple
pear lemon".
> Is there a way to insert a break inside a text variable readable by the
TTS?
>
> Thanks in advantage.
> Antonella.
>
>
Interesting issue there. <vxml:break> is part of the ssml support, but
not sure what happens if it is in a variable. Are you doing the TTS in
a <vxml:prompt> or <vxml:block> ?
You can also insert a set of ,,,,, to get artificial pauses.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|