TTS-follow-up

jgrubb75 at cybertrails.com jgrubb75 at cybertrails.com
Mon Aug 6 15:41:46 EDT 2007


Mark,

Thanks for the response.

I read somewhere that GB2312 is a subset of unicode, or vice versa. So the
conversion is probably fairly simple. There's gotta be some algorithm out
there for the conversion.

If so, it seems like I could have a function that would convert the
unicode to GB just before sending it to the engine.

The handler would be something like this:

revSpeak UtoGConvert(fld "f3")

I'm an educator, not a programmer. I'd be willing to pay you or someone
else to find or work up an algorithm.

Thanks

Re:

Sorry, it seems Chinese TTS won't work with Revolution. Chinese text
is always Unicode in Revolution and apparently your TTS engine
doesn't understand that.

It looks like it should be possible to convert GB2321 to unicode and
back with a script, just like GB2312 (see Wikipedia). After
converting unnicode text to GB2321, you can export the binary text to
a file and use the command line or a VBScript to open this with your
commercial TTS engine. Don't try to display DB2312 in Revolution, as
it won't display properly.

Best regards,

Mark Schonewille





More information about the use-livecode mailing list