Bug#630477: Switch speech synthesis

2011-06-28 Thread Samuel Thibault
Christian PERRIER, le Tue 28 Jun 2011 07:12:56 +0200, a écrit :
> Could we imagine, some day, having this combined with a voice-command
> interface?

Generic-purpose voice recognition does not work very well. For
particular purpose it may work not so bad. We have very little libre
software for that, however.

Samuel



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#630477: Switch speech synthesis

2011-06-28 Thread Christian PERRIER
Quoting Samuel Thibault (sthiba...@debian.org):

> There is one glitch in the main menu BTW. I don't know if it is on
> purpose that the language question is always asked in english, but the
> title is asked in the previously-selected language, which makes some
> sort of mixture. I mean for instance:
> 
> - boot the installer
> - choose the french language
> - don't choose a country, go back to language question
> - the debconf title for language question is in french, while the
>   actual question is in english.
> 
> In my patch, I make localechooser switch back to english for the
> language question, even if the title is in the local language. Should I
> keep it so?

Yes, that's OK. localechooser's choices are always in English and the
menu text is not translatable, on purpose. The point is allowing
someone to come back in case (s)he picked the wrong language...and
still have something understandable..:)

A side effect was the situation you mention. It never bothered us
enough to include a hack to switch everything back to English prior to
the 2nd menu display

So, imho, keep your patch as is. 








signature.asc
Description: Digital signature


Bug#630477: Switch speech synthesis

2011-06-28 Thread Christian PERRIER
Quoting Samuel Thibault (sthiba...@debian.org):

> Ok, does the attached patch sound sane? (it does work in my tests at least)


I didn't answer the question directly in my previous answer.

Yes it sounds sane, so you're welcome to apply it (and even upload if
you wish...no problem for me). Thanks for this great work. I have to
try out this speech synthesis thing some day. That's indeed
interesting to have an accessibility thing that everybody can see
(^Whear)the benefit of.

It probably even makes a great demo. Could we imagine, some day,
having this combined with a voice-command interface?






signature.asc
Description: Digital signature


Bug#630477: Switch speech synthesis

2011-06-27 Thread Samuel Thibault
retitle 630477 Switch speech synthesis
thanks

Hello,

Christian PERRIER, le Wed 15 Jun 2011 07:25:28 +0200, a écrit :
> introducing some changes in localechooser script to switch voice after
> the language is chosen.

Ok, does the attached patch sound sane? (it does work in my tests at least)

There is one glitch in the main menu BTW. I don't know if it is on
purpose that the language question is always asked in english, but the
title is asked in the previously-selected language, which makes some
sort of mixture. I mean for instance:

- boot the installer
- choose the french language
- don't choose a country, go back to language question
- the debconf title for language question is in french, while the
  actual question is in english.

In my patch, I make localechooser switch back to english for the
language question, even if the title is in the local language. Should I
keep it so?

Samuel
diff --git a/localechooser b/localechooser
index 362e11c..7f5eb60 100644
--- a/localechooser
+++ b/localechooser
@@ -478,6 +478,11 @@ while :; do
   10)  # Display language list
db_settitle localechooser/title/language
 
+   if [ -x /usr/lib/espeakup/espeakup.restart ]
+   then
+   /usr/lib/espeakup/espeakup.restart "$INITIAL_LANGUAGE"
+   fi
+
sel_language=1
# Disabled because of #470258: template is set to true too early
if false && \
@@ -509,6 +514,10 @@ while :; do
   11)  # We have a language
db_get $tpl_languagelist
LANGUAGE="$RET"
+   if [ -x /usr/lib/espeakup/espeakup.restart ]
+   then
+   /usr/lib/espeakup/espeakup.restart "$LANGUAGE"
+   fi
 
# Determine defaults based on languagelist
. languagemap