[slint] IT WORKS! Voxin Embedded Voices Working in SLINT

  • From: "D.J.J. Ring, Jr." <n1ea@xxxxxxxx>
  • To: slint@xxxxxxxxxxxxx
  • Date: Thu, 15 Jul 2021 01:36:07 -0400

Thanks to Gilles, I got my zoe-ml-embedded-high voice working in console -
and of course,
it already worked in terminal under MATE.

One problem I found by accident is that I had to use ALSA instead of Pulse
Audio.  You will only need to change this is you reconfigure
speech-dispatcher, I've already changed it in the attached
speechd.conf file.

Here are the detailst for those that want to get started, I'm attaching
speechd.conf which
I modified according to Gilles instructions.

First, uninstall all the voxin files from your computer, you will still
have espeak and speakup.

Go to your expanded archive of the voice you purchased, both the embedded
voice(s) and the IBM TTS voice(s) and run as root.

./voxin-installer.sh

Answer the questions, I believe it asks you to type "ok" to install voxin.

If you installed any embedded voices, uninstall them also, go to that
folder and run
./voxin-installer.sh

Answer the questions, I believe it asks you to type "ok" to install voxin.

Reboot your computer to be safe you have everything removed.

After REBOOT.

First I saved the speechd.conf file which I have attached to this message
to ~/.config/speech-dispatcher/speechd.conf

Then not knowing any better, I replaced all the speechd.conf on my system.

I updated my file database by running as root:

updatedb

Then as root:

locate speechd.conf


/etc/speech-dispatcher/speechd.conf
~/.config/speech-dispatcher/speechd.conf
~/speechd.conf
~/system.speechd.conf


I replaced all of these with the new speechd.conf file that I modified
according to the README file within the
tar.gz of my embedded voice that I purchased from Voxin Oralux.

Next I located voxin.ini and replaced it with the one that Gilles gave me
which unless you use the
zoe-ml-embedded-high that I am using, you will have to edit the voxin.ini
file first and put down the language
you purchased.

You can find out the voice after you've installed it by doing this:

voxin-say -L
Name,Language,Variant
zoe-ml-embedded-high,en,US

So the name of my voice is:
zoe-ml-embedded-high

You will see in voxin.ini there is a line which reads:
voiceName=zoe-ml-embedded-high

You will have to replace after "voiceName=" the name that voxin-say -L
returns.

I saved the modified voxin.ini to ~/.config/voxin.ini

Next I located the voxin.ini files on my computer, by using the locate
command as root:

locate voxin.ini

~/.config/voxin.ini
/opt/oralux/voxin/share/conf/voxin.ini
/var/opt/oralux/voxin/voxin.ini

I then replaced all these files using the cp command as root to replace
each one except my original in ~/.config/voxin.ini

I rebooted and now I have my embedded Zoe ML High voice speaking to me.

Attached are the modified - for my zoe-ml-embedded-high voice - modify the
file as explained above - files, voxin.ini and speechd.conf and the ALL
important README file from inside the
voxin-american-english-zoe-ml-high-3.3rc5.tgz archive.  It unarchives and
makes a folder called  voxin-american-english-zoe-ml-high-3.3rc5 (the name
will vary according to the release and name of the actual voice, mine's
given for example) inside that folder is a file called "README", I've
attached that if you need to modify the speech dispatcher settings, you
MUST follow that procedure in that file, but just substituting the name of
your voice for mine should eliminate any configuration you need to do.

Best wishes,

David
# voxin.ini (version 1.5.7)
#
# voxin.ini defines the default values of several parameters for the
# IBM TTS or Vocalizer Embedded voices.
#
# voxin.ini will be read at $HOME/.config/voxin/voxin.ini or
# otherwise at /var/opt/oralux/voxin/voxin.ini
#
# Two sections:
# - general: concerns the IBM TTS or Vocalizer Embedded voices
# - viavoice: only for IBM TTS
#
# In the following lines, all the parameters are commented out and
# assigned to their default values.
#


# The general section concerns any IBM TTS or Vocalizer Embedded
# voice
[general]

# The capitalization parameter authorizes to play a sound icon before
# each word with a capital letter.
# Expected values: none, icon
# By default, no sound icon
#capitalization=none

# The punctuation parameter indicates which punctuation characeters
# must be spelled.
# Expected values: none, some, all
# By default no punctuation is spelled
#punctuation=none

# The somePunctuation parameter supplies the list of punctuation
# character to be spelled if punctuation has been set to "some"
#somePunctuation=(),? 

# voiceName indicates the default voice.
#
# For example, to choose the Zoe voice in a system where two Voxin
# voices have been installed:
#
# 1. retrieve the  exact name of the Zoe voice using:
# voxin-say -L
# which would return in this example:
#
# Name,Language,Variant
# american_english,en,US
# zoe-embedded-compact,en,US
#
# 2. update the voiceName parameter in voxin.ini:
# voiceName=zoe-embedded-compact

voiceName=zoe-ml-embedded-high

# The viavoice section concerns any IBM TTS language
[viavoice]

# The useAbbreviation parameter enables the abbreviation dictionaries.
# Expected Values: yes or no
# By default no abbreviation
#useAbbreviation=no

# dictionaryDir:
# Note that this description has been copied and slightly customized
# from speech-dispatcher (voxin.conf, IbmttsDictionaryFolder comment).
#
# IBM TTS supports user dictionaries so that you may customize the
# pronunciation of words, beginning of words or abbreviations
# according to the language.

# The dictionaryDir parameter defines the root directory under which
# you may add your dictionary files. If several languages are
# installed, you may want to create one sub-directory per language.
#
# Three examples : 

# - a single language is installed:
#   place your files under dictionaryDir

# - two languages are installed, say English and French:
#   place your files under dictionaryDir in sub-directories en and fr

# - the same language for different regions are installed, say
#   Castilian Spanish and Mexican Spanish:
#   place your files in directories es_ES and es_MX

# The directory names are listed below (DIRECTORY NAMES and EXTENDED
# DIRECTORY NAMES).
#
# The name of the dictionary files are:
#
# - main.dct: main dictionary
# - root.dct: roots dictionary
# - abbreviation.dct: abbreviation dictionary 
# - extension.dct: main extension dictionary
#
# The IBM TTS documentation details the syntax of the user
# dictionaries.
# Basically, it is one line per entry, composed of key, tabulation,
# value.
#
# Directory Names:
# de: German
# en: English
# es: Spanish
# fi: Finnish
# fr: French
# it: Italian
# ja: Japanese
# pt: Portuguese
# zh: Chinese
#
# Extended Directory Names:
# en_GB: British English
# en_US: American English
# fr_CA: Canadian French
# fr_FR: French
# pt_BR: Brazilian Portuguese
# zh_CN: Mandarin Chinese
# zh_TW: Mandarin Taiwanese
#
# dictionaryDir defines the path to the dictionary directory.
# Let it empty to disable this feature, e.g. :
# dictionaryDir=
#
# Default dictionary directory
#dictionaryDir=/var/opt/IBM/ibmtts/dict

Attachment: speechd.conf
Description: Binary data

Attachment: README
Description: Binary data

Other related posts: