Page 1 of 1

Default Voice for AT&T Natural Voices 1.4?

Posted: Mon Jul 16, 2012 11:45 am
by goochalba
Hi,

Which voice is the default voice for the demo site? It is a female voice. And if I want to try different voices using the following code

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
<form>
        <block>
            <prompt>
              Hi
            </prompt>
            <assign name="CallerID" expr="session.telephone.ani"/>
            <submit next="./jsp/commuter.jsp" namelist="CallerID"/>
        </block>
    </form>
</vxml>
What is the best way to do it? I see there is a <voice> tag but I am not sure where to put it? Also how do I know which
voices I have available?

Thanks in advance!
Mike

Re: Default Voice for AT&T Natural Voices 1.4?

Posted: Mon Jul 16, 2012 1:11 pm
by support
Hi,

The default voice for AT&T Natural Voices is "crystal.

The list of voices for AT&T can be found here: http://www.plumvoice.com/docs/dev/devel ... erence:tts

Here is some sample code that allows you test the voices:

Code: Select all

<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
<form>
  <field name="pinnumber" type="digits">
    <prompt>
      <voice name="mike">
        Please enter your PIN.
      </voice>
    </prompt>
    <filled>
      <prompt>
        <voice name="mike">
          You entered
          <say-as type="digits"> 
            <value expr="pinnumber"/>
          </say-as>
        </voice>
      </prompt>
    </filled>
  </field>
</form>
</vxml>
Hope this helps.

Regards,
Plum Support

Re: Default Voice for AT&T Natural Voices 1.4?

Posted: Mon Jul 16, 2012 3:25 pm
by goochalba
Works great thank you!