Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

To use TTS (Text To Speech) whether via Cereproc TTS or via Cloud TTS, you might need to configure TTS Engines. It is done here.

By clicking on the New button you create a new TTS Engine, the following fields could be setup:

SettingValue
ManufacturerCereproc for Cereproc TTS / Standard for Cloud TTS
LanguageAs provided by the TTS voice installed / As provided in the Cloud TTS offer
SexAs provided by the TTS voice installed / As provided in the Cloud TTS offer
Speaker NameType in the EXACT name of the speker here
CloudTTSEngine Name (Cloud TTS)The TTS Engine Name from the Cloud TTS Server
CloudTTSEngine DNS (Cloud TTS)The Domain Name Server of the Cloud TTS Server
Generation Template

Without tags

$text


With tags

If tags are to be used in the TTS, then the following template can also be used, this allows the use of SSML tags.

See

https://www.w3.org/TR/speech-synthesis11/

https://www.cereproc.com/files/CereVoiceCloudGuide.pdf


Translations Ignore

<speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
http://www.w3.org/TR/speech-synthesis/synthesis.xsd"
xml:lang="de">$text
</speak>


This allows the generation of TTS texts, with tags. For example:


Dies ist ein Test. <prosody rate="+50%">Hier spreche ich ziemlich schnell.</prosody> Hier wieder normal. <prosody rate="-50%">Und hier ziemlich langsam.</prosody>


Do not forget to replace xml:lang="de" with the appropriate language.

Offline Generation Command (Cereproc TTS)

Up to Portal Release 3.17 with Cereproc V4

%USERDIR3%bin\Cereproc\Cereproc_Generate.cmd $speaker "$infile" "$outfile" "%TEMPDIR%"

Offline Generation Command (Cereproc TTS)

From Portal Release 3.18 with Cereproc V4

For 8kHz Voices:

%USERDIR3%bin\Cereproc\v4\Cereproc_Generate_8000.cmd $speaker "$infile" "$outfile" "%TEMPDIR%"

For 48kHz Voices:

%USERDIR3%bin\Cereproc\v4\Cereproc_Generate_48000_to_8000.cmd $speaker "$infile" "$outfile" "%TEMPDIR%"

Offline Generation Command (Cereproc TTS)

From Portal Release 3.18 with Cereproc V5

For 8kHz Voices:

%USERDIR3%bin\Cereproc\v5\Cereproc_Generate_8000.cmd $speaker "$infile" "$outfile" "%TEMPDIR%"

For 48kHz Voices:

%USERDIR3%bin\Cereproc\v5\Cereproc_Generate_48000_to_8000.cmd $speaker "$infile" "$outfile" "%TEMPDIR%"


Sv translation
languagefr

Pour utiliser TTS (Text To Speech) que ce soit via Cereproc TTS ou via Cloud TTS, vous devrez peut-être configurer les moteurs TTS. C'est fait ici.

En cliquant sur le bouton Nouveau, vous créez un nouveau moteur TTS, les champs suivants peuvent être configurés:

Paramètre

Valeur

FabricantCereproc for Cereproc TTS / Standard for Cloud TTS
LangueAs provided by the TTS voice installed / As provided in the Cloud TTS offer
SexeAs provided by the TTS voice installed / As provided in the Cloud TTS offer
Nom de l'intervenantType in the EXACT name of the speker here
CloudTTSEngine Name (Cloud TTS)The TTS Engine Name from the Cloud TTS Server
CloudTTSEngine DNS (Cloud TTS)The Domain Name Server of the Cloud TTS Server
Modèle de génération (Cloud TTS)

Sans balises

$text


Avec balises

Si des balises doivent être utilisées dans le TTS, le modèle suivant peut également être utilisé, ce qui permet l'utilisation de balises SSML.

Voir

https://www.w3.org/TR/speech-synthesis11/

https://www.cereproc.com/files/CereVoiceCloudGuide.pdf


<speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
http://www.w3.org/TR/speech-synthesis/synthesis.xsd"
xml:lang="de">$text
</speak>


Cela permet de générer des textes TTS, avec des balises. Par exemple:


Il s'agit d'un test. <prosody rate="+50%">Voici que je parle assez vite.</prosody> Retour à la normale ici. <prosody rate="-50%">Et ici assez lentement.</prosody>


N'oubliez pas de remplacer xml:lang="de" avec la langue appropriée.

Commandement de la génération hors ligne (Cereproc TTS)

Jusqu'à Portal Release 3.17 avec Cereproc V4

%USERDIR3%bin\Cereproc\Cereproc_Generate.cmd $speaker "$infile" "$outfile" "%TEMPDIR%"

Commandement de la génération hors ligne (Cereproc TTS)

Du Portal Release 3.18 avec Cereproc V4

Pour les voix de 8kHz:

%USERDIR3%bin\Cereproc\v4\Cereproc_Generate_8000.cmd $speaker "$infile" "$outfile" "%TEMPDIR%"

Pour les voix de 48kHz:

%USERDIR3%bin\Cereproc\v4\Cereproc_Generate_48000_to_8000.cmd $speaker "$infile" "$outfile" "%TEMPDIR%"

Commandement de la génération hors ligne (Cereproc TTS)

Du Portal Release 3.18 avec Cereproc V5

Pour les voix de 8kHz:

%USERDIR3%bin\Cereproc\v5\Cereproc_Generate_8000.cmd $speaker "$infile" "$outfile" "%TEMPDIR%"

Pour les voix de 48kHz:

%USERDIR3%bin\Cereproc\v5\Cereproc_Generate_48000_to_8000.cmd $speaker "$infile" "$outfile" "%TEMPDIR%"