[Voiceglue] More on UTF-8

emiliano esposito emiespo at tiscali.it
Wed Jan 21 09:13:13 EST 2009


Carlos Alarcón ha scritto:
> Hi,
> Browsing the mailist I can see that Emiliano were doing some stuff 
> getting voiceglue able to run with festival and using ISO-8859-1 
> encoding.
> I am also using festival since it gives Spanish Language support, I 
> will need also to use ISO-8859-1 encoding (festival seems not to like 
> other).
> Does the workaround solve the problem?, I mean, after the workaround, 
> does voiceglue give to voiceglue_gen_tts the proper ISO-8859-1 
> characters?

Hi, I've made an external module which takes care of some missing 
aspects, they are:

1) support for UTF-8.
2) support for SSML speech tags (VXML is a superset of SSML)
3) support for long filenames (strictly connected to point 2).

So I included the Perl module and the diffs file for /usr/bin/voiceglue, 
v0.8.

It's my first Perl program, and it's not much long, so I kindly ask 
everybody willing to do it, to correct errors (if any) and don't blame 
too much if things are not the state of the art :)

Next: Festival! It doesn't like UTF-8, nor SSML, so I downloaded this 
package:

http://www.freebsoft.org/festival-freebsoft-utils

And installed it (simply copy the *.scm files to your Festival workdir). 
It provides Scheme functions for ssml (UTF8 encoded!) support in Festival.

Unfortunately there is an error in the code, so I made a slighlty 
patched version (included it in the archive) of the "ssml-mode.scm" file.

I also added to it a Scheme function that simply takes an ssml sheet and 
produces an Asterisk-ready wave file (ie it does the 8khz convertion 
inside Festival).

The only bad thing at the moment is that many SSML tags don't work (I 
asked in their mailing list why), but if you only need simple text OR 
simple tags like "<s>" or "<p>", then it's OK.

If you have any question, feel free to ask.
Kind regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SSMLExtender.zip
Type: application/zip
Size: 34654 bytes
Desc: not available
Url : http://www.voiceglue.org/pipermail/voiceglue/attachments/20090121/15650de8/attachment-0001.zip 


More information about the Voiceglue mailing list