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

french voice

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
jcooper
Posts: 45
Joined: Tue Jul 22, 2008 5:22 pm

french voice

Post by jcooper »

Hi, when I run the following the first french voice ("Bienvenue...") is a male, the second is a female. Why would that be?

Code: Select all

<vxml version="2.0">
	<property name="voicename" value="Samantha"/>
	<property name="inputmodes" value="dtmf"/>
	<property name="termchar" value="#"/>
	<property name="timeout" value="3s"/>
	<property name="interdigittimeout" value="2s"/>
	<property name="scriptmaxage" value="0s"/>
	<property name="documentmaxage" value="0s"/>
	<property name="sensitivity" value="0.0"/>

	<var name="firstname"/>
	<var name="lastname"/>
	<var name="lang"/>
	
	<form id="login">
		<subdialog name="sessionStart"
		   src="Process.aspx?p=SessionStart"
		   namelist="session.id session.telephone.ani"
		   method="post"
		   maxage="0s"
		   maxstale="0s"
				   />
		<block>
			<assign name="lang" expr="sessionStart.result"/>
			<prompt>Welcome to the Check In System.</prompt>
			<if cond="lang == 'french'">
				<prompt>
					<voice name="Julie" xml:lang="fr-CA">
						Bienvenue sur l'enregistrement System.
					</voice>
				</prompt>
			</if>
		</block>

		<field name="SetLanguage" cond="lang != 'english'">
			<property name="interdigittimeout" value="10ms"/>
			<grammar type="application/x-jsgf" mode="dtmf">
				1 | 2
			</grammar>
			<catch event="noinput nomatch" count="3">
				<prompt>You have entered an in valid entry three times. Goodbye.</prompt>
			</catch>
			<prompt>
				For english press 1.<break/>
				<voice name="Julie" xml:lang="fr-CA">Pour le français, appuyez sur le 2.</voice>
			</prompt>
			<filled>
				<if cond="SetLanguage == 2">
					<assign name="lang" expr="'french'"/>
				<else/>
					<assign name="lang" expr="'english'"/>
				</if>
			</filled>
[/code]

jcooper
Posts: 45
Joined: Tue Jul 22, 2008 5:22 pm

..and setting it global

Post by jcooper »

I would like to change the voicename on my french leaf page to Julie and the language to fr-CA.. is this possible or do i need to specify the voice tag for each prompt?

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

IVR solution to Realspeak's text-to-speech engine

Post by support »

Hi,

We are currently looking into this IVR issue of why Realspeak's text-to-speech engine is behaving in this way for non-English voices. We recommend that you remove the "voicename" global property from your IVR code and just specify the specific IVR voice that you want for each of your prompts.

Regards,
Plum Support
Last edited by support on Wed Feb 17, 2010 12:59 pm, edited 3 times in total.

jcooper
Posts: 45
Joined: Tue Jul 22, 2008 5:22 pm

french voice issue

Post by jcooper »

Thank you I've done that and it is still alternating between male and female french voices. A bigger issue i am experience is that after the initial two french prompts it fails to play any further french prompts.

Here is that thread: http://support.plumgroup.com/viewtopic.php?t=1056

Thanks for your assistance.

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

IVR code to fix male voice changing to female voice

Post by support »

Hi,

We've found a permanent fix to this IVR solution. You should specify the IVR tag, <speak> , to specify the language outside of your IVR tag, <voice>. For an IVR code example:

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt>
<speak xml:lang="fr-CA"><voice name="Julie" gender="female">
Bienvenue sur l'enregistrement System.
</voice></speak>
</prompt>
</block>
</form>
</vxml>
This should resolve your IVR issue with getting a male voice instead of a female voice.

Regards,
Plum Support

Post Reply