Page 2 of 2
Re: No audio output (TTS) on Linux
Posted: Fri Mar 08, 2019 5:56 pm
by ntnll
hoover wrote: ↑Fri Mar 08, 2019 4:18 pm
Hi folks,
I have now install espeak-ng and it works ok from the command line (espeak-ng "Hello World" does just that).
However I'm still not getting voice output from the plugin, so I'm wondering if my XLinSpeech plugin is installed correctly as it's not listed in XP's "installed plugins" list. The compilation seems to have worked fine:
Code: Select all
$make lin64.xpl
make: 'lin64.xpl' is up to date.
$ ls -l /usr/games/xplane11/Resources/plugins/XLinSpeak/64/lin64.xpl
-rwxr-xr-x 1 hoover hoover 56232 Mar 6 17:39 /usr/games/xplane11/Resources/plugins/XLinSpeak/64/lin64.xpl
Settings.txt:
...
ldd also shows no missing libraries for the xpl file, so I'm a bit stumped here what to try next.
Thanks in advance for your patience and advice
All the best, Uwe
Hi Uwe,
I don't drive the TTS from the plugin, is handled by XP SDK. So if the XP TTS works, 124th should works. Can you hear the ATIS voice when tuned the correct frequency on the radio? If I fine remember, also on Linux ATIS use the internal TTS, it should proves if XP is able to uses your TTS engine.
a.
Re: No audio output (TTS) on Linux
Posted: Sat Mar 09, 2019 7:54 am
by hoover
Thanks a lot for your reply.
I'm getting some conflicting information from the x-plane / Linux subforum: It was stated there that the internal XP ATC
doesn't use TTS, but sampled words that get rearranged into sentences as necessary:
https://forums.x-plane.org/index.php?/f ... nt=1611552
This kind of makes sense as the x-plane native "dumb" ATC rounds quite good while an espeak-ng "Hello World" sounds very much like Mr. Hawking's ghost

(I can live with that because of the many great features of 124thATC)
Thanks again for the support & all the best,
Uwe
Re: No audio output (TTS) on Linux
Posted: Sat Mar 09, 2019 8:34 am
by hoover
Hey guys,
I'm happy to report I got it to work, yay!!!
All I needed to do was to download the XLinSpeak binary plugin provided by uglydwarf in his announcement thread and use that instead of my self-compiled one (I guess that job is best left to the professionals

)
Now speech output is working just fine. The native X plane ATC voices sound better than what espeak-ng provides, but I read somewhere that you can tinker with those as well, so for now I'm very happy!
All the best,
Uwe
https://forums.x-plane.org/applications ... ?id=248660
Re: No audio output (TTS) on Linux
Posted: Sat Mar 09, 2019 2:16 pm
by RandomUser
Congratulations.
If you happen to get a different TTS engine to work with speech-dispatcher, feel free to inform me. While espeak-ng works, it doesn't provide the best output.
Re: No audio output (TTS) on Linux
Posted: Sat Mar 09, 2019 9:24 pm
by ntnll
hoover wrote: ↑Sat Mar 09, 2019 7:54 am
Thanks a lot for your reply.
I'm getting some conflicting information from the x-plane / Linux subforum: It was stated there that the internal XP ATC
doesn't use TTS, but sampled words that get rearranged into sentences as necessary:
Thanks again for the support & all the best,
Uwe
ATC communications are just wave files streamed, you can find those files in the xplane installation. But, as far as I know, the ATIS uses TTS. Definitely on windows, but I believe also on Linux
Re: No audio output (TTS) on Linux
Posted: Sat Dec 14, 2019 5:40 pm
by hockenberry
Another possible hurdle in Ubuntu: my speech-dispatcher was not working for some reason,
would produce no sound. But when I was using
it worked. It turns out that the volume level for speech-dispacther were turned down to 0. So to solve this issue go to settings/sound/applications tab and change the volume.
Voila!!! Sound is now working thanks to xlinspeak/speech-dispatcher. (note that you can tweak the speed in speech-dispacther conf files to be more in line with the speed of the real atc, I use x2).
Re: No audio output (TTS) on Linux
Posted: Sun Dec 15, 2019 7:04 pm
by ntnll
hoover wrote: ↑Fri Mar 08, 2019 4:35 pm
PS: I also checked that speech-dispatcher is enabled and running (which it is), so I'm beginning to wonder if the XLinSpeak plugin may be the problem here as it's not listed in x-plane, despite residing in the correct location according to the docs on github.
All the best, Uwe
Hi hoover,
the best way to test TTS on XP is to tune on atis frequency. If you don't hear the voice, it means TTS is not working for whole X-Plane, not a 124thATC probelm
Re: No audio output (TTS) on Linux
Posted: Thu Dec 19, 2019 5:45 pm
by hockenberry
@
hoover I think your ocmpilation was fine. Its just that xplane expects a lin.xpl file not a lin64.xpl. So if you rename it to lin.xpl or create a link your compilation should work. I know you solve the issue but maybe it can help others.
Re: No audio output (TTS) on Linux
Posted: Thu Jan 09, 2020 11:24 pm
by vittop
hockenberry wrote: ↑Thu Dec 19, 2019 5:45 pm
@
hoover I think your ocmpilation was fine. Its just that xplane expects a lin.xpl file not a lin64.xpl. So if you rename it to lin.xpl or create a link your compilation should work. I know you solve the issue but maybe it can help others.
I confirm, my self-compiled linspeak is named lin.xpl too, and works fine on both my Linux machines (one is with XP11 Demo other is XP11 full)