Page 1 of 1

french voice

Posted: Fri Oct 24, 2008 9:52 am
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]

..and setting it global

Posted: Fri Oct 24, 2008 9:59 am
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?

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

Posted: Fri Oct 24, 2008 1:41 pm
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

french voice issue

Posted: Fri Oct 24, 2008 1:53 pm
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.

IVR code to fix male voice changing to female voice

Posted: Fri Oct 24, 2008 4:00 pm
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