On Mon, 13 Aug 2007 12:28:07 +0200, Georges Dubus
<[EMAIL PROTECTED]> wrote:
On Monday 13 August 2007 11:49:15 David Bourgeois wrote:
The fallback to the male american voice is done in tuxttsd so you don't
really have access to that but in case you want some modifications, just
add a new issue to the trackers and that will be taken into account for
next release.
On the other hand, you can get a list of all installed voices from the
events in the API. That list is used in the latest GTDI so only the
installed languages are shown. This list could also be used to enforce
the
language selection.
David
I don't have my tux with me, so I can't check. Is the
tux.tts.authorized_voices_list the list you're talking about ?
Yes, that's it. (I don't know that myself, I'm just asking Rémi all the
time ;-) )
This list returns all installed languages, and as soon as you select one,
the list is updated and only includes English and the second language you
choosed. (The Acapela license only allow you to use English and a second
language simultaneously.)
If it's that, I'll write a patch that check whether the selected
language is
present, and return a message containing the url if not.
Once done, maybe I can add a new function based on that code that would
determine which language is to used. Maybe it could be used during the
install in order to dowload the needed language.
From my point of view, I think tux.tts.select_voice should only allow the
languages that are in tux.tts.authorized_voices_list to be selected, as
the others won't. Then it can return an error if the language doesn't
exist, or return the URL if the language exists but is not installed.
David
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
tux-droid-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-user