Bug 342054 - Jovie does not change voice via system try
Summary: Jovie does not change voice via system try
Status: RESOLVED UNMAINTAINED
Alias: None
Product: jovie
Classification: Unmaintained
Component: General (show other bugs)
Version: 0.6.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-20 17:45 UTC by opensuse.lietuviu.kalba
Modified: 2018-09-02 22:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kttsdrc (355 bytes, text/plain)
2014-12-20 17:49 UTC, opensuse.lietuviu.kalba
Details
speech-dispacher.log (51.35 KB, text/x-log)
2014-12-20 18:37 UTC, opensuse.lietuviu.kalba
Details
patch for fixing the system tray language change bug (1.11 KB, patch)
2018-05-14 15:43 UTC, simion314
Details

Note You need to log in before you can comment on or make changes to this bug.
Description opensuse.lietuviu.kalba 2014-12-20 17:45:31 UTC
I created two talkers. Jovie can not switch between them – it ignores if I select one another in system try. Both voices works then setted as default.

Reproducible: Always

Steps to Reproduce:
1. Quit speech-dispacher, if any
2. In Jovie konfigutarion, create several voices/talkers (for diferent languages for espeak)
3. go to system try and ask to speech clipboard (e.g. sentence "voila 1 2 3")
4. via system try change Jovie voice
5.  go to system try and ask to speech clipboard again

Actual Results:  
booth times I here the same

Expected Results:  
here counting in one language at first time,
here counting in other language second time. 

espeak 1.48
speech-dispacher 0.8.1 uses espeak (sd_espeak) and not espeak-generic
Comment 1 opensuse.lietuviu.kalba 2014-12-20 17:47:50 UTC
KDE 4.14.3, openSUSE 13.2 64-bit, installed from default repos
Comment 2 opensuse.lietuviu.kalba 2014-12-20 17:49:15 UTC
Created attachment 90062 [details]
kttsdrc

configuration of two languages for espeak (via pulse audio)  for testing
Comment 3 opensuse.lietuviu.kalba 2014-12-20 18:37:02 UTC
Created attachment 90063 [details]
speech-dispacher.log

In this log you see, that only in initial time Jovie send correctly formulated language:
[Sat Dec 20 20:25:50 2014 : 655796] speechd:     16:DATA:|SET SELF language fr

then I switch to other language, it sends command:
[Sat Dec 20 20:27:34 2014 : 420932] speechd:     16:DATA:|SET SELF language Lietuvių
(where „Lietuvių“ mean Lithuanian language in Lithuanian (my native system language)).

Then I switch again to french voice, I see
[Sat Dec 20 20:29:05 2014 : 611693] speechd:     16:DATA:|SET SELF language Prancūzų
(where „Prancūzų“ means French in Lithuanian)

You also may see
[Sat Dec 20 20:29:00 2014 : 687953] speechd:     16:DATA:|SET SELF language Anglų
because I added EN language for testing.

So Jovie shoud not send full name of language (even lokalized!) - just code fr, lt, en ...
Comment 4 opensuse.lietuviu.kalba 2014-12-20 18:45:57 UTC
It seems, that sending initial 'fr' is also incorrect.
Jovie should send NOT language, but VOICE ID, that in most cases is the same as language.

Otherwise it will not distinguish between such alternative:

249-spanish es none
249-spanish-latin-am es la

or

249-persian fa none
249-persian-pinglish fa pin

or

249-french-Belgium fr be
249-french fr fr
Comment 5 opensuse.lietuviu.kalba 2016-01-13 08:03:43 UTC
any news?
Comment 6 Jeremy Whiting 2016-01-13 16:43:35 UTC
I somehow missed this bug report. I've been away from development for a while, but am back. I'll take a look at this soon.

Thanks for the report. and for poking again.
Comment 7 opensuse.lietuviu.kalba 2016-01-13 16:49:13 UTC
If you need LiveCD/LiveUSB image (e.g. ISO, OVF, VMDK) for testing (e.g. in Virtual machine) with preconfigured Jovie with multiple voices, you can grab at 
https://susestudio.com/a/CttYWz/lietukas-42-1-64-bit (with KDE Plasma 5)
https://susestudio.com/a/CttYWz/lietukas-13-2-32-bit--3 (with KDE Plasma 4)
Comment 8 simion314 2018-05-14 15:43:07 UTC
Created attachment 112646 [details]
patch for fixing the system tray language change bug

The speech dispatcher libary needs language codes like "en" and "ro" but some places in the code will send full language name like "English" or "Romanian"
Comment 9 Andrew Crouthamel 2018-09-02 22:28:09 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years and I will be closing this bug.