We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Voice Accent - configure for entire application

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
amitkhosla
Posts: 53
Joined: Sun Feb 15, 2009 11:42 pm
Contact:

Voice Accent - configure for entire application

Post by amitkhosla »

Hi,

I want to change the default voice for all the prompt of my application to female voice and also want to change the accent.

Can you please help me with the code to update the same for the entire application.

regards & thanks
Amit

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR application for default voice

Post by support »

Hi,

You can look up how to change the default voice in our IVR documentation, located here:
http://www.plumvoice.com/docs/dev/devel ... erence:tts

To do this for your entire IVR application, you could use the IVR properties, "voicename" and "voicegender":

http://www.plumvoice.com/docs/dev/voice ... oicegender
http://www.plumvoice.com/docs/dev/voice ... :voicename

However, in certain cases, you should use the IVR tag, <voice>, to specify the voice that you want in your application.

If you need additional help, please feel free to post your IVR code here for us to make some suggestions.

Regards,
Plum Support
Last edited by support on Wed Feb 24, 2010 1:17 pm, edited 4 times in total.

amitkhosla
Posts: 53
Joined: Sun Feb 15, 2009 11:42 pm
Contact:

American Accent - sample code

Post by amitkhosla »

can you helpme with some sample code to make american accent and female voice

i'll be highly oblized

regards,
amit

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR code using American female voice

Post by support »

Hi,

For this IVR example, we chose to use AT&T Natural Voices for our TTS voice. The voice that we chose was "lauren", an American English female voice for AT&T Natural Voices.

americanaccent.php:

Code: Select all

<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
  <property name="voicename" value="lauren"/>
  <property name="voicegender" value="female"/>
  <form>
    <field name="myfield">
      <grammar type="application/x-jsgf" mode="voice">
        ( one | two )+
      </grammar>
      <prompt>
        Say any number of the digits one or two.
      </prompt>
      <filled>
        You said <value expr="myfield"/>.
      </filled>
    </field>
  </form>
</vxml>
Hope this sample of IVR code helps.

Regards,
Plum Support

Post Reply