speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hello,


From: Samuel Thibault
Subject: Hello,
Date: Mon, 1 Oct 2018 21:52:39 +0200

Didier Spaier, le lun. 01 oct. 2018 21:20:26 +0200, a ecrit:
> It seems complicated to check in module_utils_addvoice.c the
> availability of each voice listed in the config file, because the paths
> to the voice files are not the same for all synthesizers.

This could be made configurable in the .conf file, e.g. something like

VoiceFileDependency "/usr/share/mbrola/$VOICE/$VOICE"
VoiceFileDependency "/usr/lib/espeak-data/voices/mb/mb-$VOICE"

If no such line appears, all voices would be listed. If such line
appears, the voice addition would be done only if all these files exist.

for cases where the paths would be unsure, these can be left as comments
and distributions can fix them according to their own correct paths.

(things should really "just work" without having to modify configuration
files, and automatically modifying configuration files seems fragile to
me)

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]