[Freeswitch-users] Multiple "voices" under mod_say_en
Michael Collins
msc at freeswitch.org
Fri Oct 1 12:05:19 PDT 2010
Neil,
Try setting channel variable ${sound_prefix} prior to calling your say
application. It's an imperfect solution until we have something more elegant
in place. Just note that if you need to switch between US and UK sounds on
the same call you'll need to change the sound_prefix on the channel each
time.
The default sound_prefix is:
/usr/local/freeswitch/sounds/en/us/callie
So change it to:
/usr/local/freeswitch/sounds/en/uk/<your_voice>
And then call say and it should use your uk voice.
-MC
On Fri, Oct 1, 2010 at 8:32 AM, Neil Burgess <neil.burgess at redmatter.com>wrote:
> Hi,
>
>
>
> I’d like to be able to use two sets of language files for US and UK within
> the say module, allowing either to be utilised with the spell, items, etc
> capabilities, based on setting some channel variable!
>
>
>
> At the moment, I can’t see how to achieve this since it appears that the
> “say_en” module for manipulating these strings is linked to the language
> name attribute as below.
>
>
>
> <language name="en" sound-path="$${base_dir}/sounds/en/us/callie"
> tts-engine="unimrcp:loquendo7-mrcp2" tts-voice="kate">
>
>
>
> Is there any way of supporting multiple “voices” under the same mod_say_en
>
>
>
> Thanks,
>
> Neil
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101001/f5e38c3e/attachment.html
More information about the FreeSWITCH-users
mailing list