infojulio / and-bible

Automatically exported from code.google.com/p/and-bible
0 stars 0 forks source link

Finnish text to speech: "language not available" #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. choose finnish bible
2. -> speak
3. "language is not available"

What is the expected output? What do you see instead?

Expected speech using installed SVOX finnish female voice.

What version of the product are you using? On what operating system?

latest 0.0.9

Please provide any additional information below.

I am using Finnish 1992 (FinPR92) translation of the bible. Tested also 
FinPR (1938 translation).

Best regards,
Tuomas

Original issue reported on code.google.com by tuomas.a...@gmail.com on 7 Oct 2010 at 2:30

GoogleCodeExporter commented 9 years ago
It took me a while to find teh custom SVOX speech downloads.  Initially I was 
not aware that Android supported Finish speech.  It says that
"The TTS engine that ships with the Android platform supports a number of 
languages: English, French, German, Italian and Spanish."
http://developer.android.com/resources/articles/tts.html

There are a couple of things to check.  Does the Finnish speech work with other 
applications?  There should be a 'Lang=fi' entry in the .conf file so and-bible 
requests the tts for the 'fi' locale and that must be failing for some reason.

Here is the simple piece of code and so I can't see what could go wrong:

  int result = mTts.setLanguage(new Locale(this.bookLanguageCode));
  if (result == TextToSpeech.LANG_MISSING_DATA ||
      result == TextToSpeech.LANG_NOT_SUPPORTED) {
      // Language data is missing or the language is not supported.
      showError(context.getString(R.string.tts_lang_not_available));

Original comment by mjden...@gmail.com on 7 Oct 2010 at 6:06

GoogleCodeExporter commented 9 years ago
I have tried Finnish speech with google translator, and it is working fine 
there. Speech engine is not standard one, but is chosen with "Tts service 
extended" program to "Svox Classic TTS". 

I will play around more with this issue later. 

best regards, Tuomas

Original comment by tuomas.a...@gmail.com on 7 Oct 2010 at 9:18

GoogleCodeExporter commented 9 years ago
I don't know if you got any further with this problem but I have added a little 
extra debugging around the tts locale selection in the latest build.

Original comment by mjden...@gmail.com on 21 Oct 2010 at 8:58

GoogleCodeExporter commented 9 years ago
sorry, my investigations are now forced to be lower priority due to other 
things, but I tried now the latest build, which still says "Language is not 
available."

Original comment by tuomas.a...@gmail.com on 21 Oct 2010 at 9:10

GoogleCodeExporter commented 9 years ago
Hi, same problem on my phone and with german: "Language not available" if I 
want the software to read the text.

Original comment by lukas.mu...@gmail.com on 10 Oct 2011 at 12:28

GoogleCodeExporter commented 9 years ago
German should be available but And Bible depends on Android TTS being installed.

Have you installed and configured the German TTS in Android Settings/Voice 
input & output/Install voice data.

Original comment by mjden...@gmail.com on 10 Oct 2011 at 1:06

GoogleCodeExporter commented 9 years ago
instead.of.language not available, how about option to.use the deault?  Better 
than nothing!
Doug

Original comment by d...@dougyeager.com on 26 May 2012 at 7:00

GoogleCodeExporter commented 9 years ago
You guys are all fortunate to own an Android device that includes TTS support.

My Storage Options Scroll Excel 7 tablet does not even have the Google TTS, and 
because of this, even if I install a third party TTS app such as IVONA, there 
is no option in system settings that enables me to configure it for use.

All I can do is hope for the best that there will be a firmware update from 
Storage Options to remedy this omission.

Meanwhile, it would be very nice if And Bible could be enhanced to support 
synchronized audio output from ancillary audio files, in the same way that 
xulsword  does.

See http://code.google.com/p/xulsword/

Original comment by DFH...@gmail.com on 6 Dec 2012 at 7:59

GoogleCodeExporter commented 9 years ago
This is very old and there are no recent updates.  TTS is working fine if 
configured correctly in Android as far as I know.  I am closing this issue.

Original comment by mjden...@gmail.com on 15 Mar 2014 at 8:53