muflone / gespeaker

A text to speech GTK+ front-end for eSpeak and mbrola to play a text in many languages with settings for voice, pitch, volume and speed
https://www.muflone.com/gespeaker/
72 stars 26 forks source link

Arabic Voice for 64bit Debian #64

Open sirjohndfox opened 7 years ago

sirjohndfox commented 7 years ago

Gday, I'm wondering if you could shed any light on using an Arabic voice on on a 64bit debian system? I've downloaded one, can't remember exactly from where at the moment, but I get an error about not being able to read ar_dict. The name of the archive was ar-espeak-bin-0.3.1. These seem to be binary files so I have a hunch the may have been compiled for a different architecture. Do you know of a source from which I can compile an Arabic voice? Thanks in anticipation, John

muflone commented 7 years ago

Hi John

Gespeaker is a mere espeak frontend and at the actual stage, native espeak doesn't support the arabic language neither the espeak native nor the mbrola Arabic voices.

There're some third party projects like https://sourceforge.net/projects/arabic-espeak/files/ https://github.com/arabic-tools/ar-espeak that aims to speak with the Arabic voices.

The file that you downloaded seems from the former project and consists of some espeak data voices, simply put the espeak-data content from the package in the espeak-data folder (this sould be /usr/lib/x86_64-linux-gnu/espeak-data for Debian testing AMD64).

Some files should conflict, you need to replace them.

after replacing and adding everything you should be able to execute: espeak --voices If you can see the arabic language then everything was made well done, you should also be able to use the Arabic language in Gespeaker.

If you want better voices you should install the MBROLA arabic language voices (ar1 and ar2).