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

[hts-users:04515] Re: How to use new hts voice format in festival


Hi,

I did that a while ago as part of a contribution to the Debian TTS team.

Under Debian, Ubuntu and derivatives you can use the festvox-us-slt-hts available in debian/sid [1] (just download the package from the website and install it if you want).

I actually used a python script [2] (written by Peter Drysdale, another Deabian TTS team member) to convert the old hts voice to the new format, but you won't need that.

As you already have the new htsvoice file, you need to:
1. Download the festival 2.1 hts voice from [3]
2. In the festival/lib/voices/us/cmu_us_slt_arctic_hts/hts directory remove all files except feat.list
3. Copy your htsvoice file into the directory festival/lib/voices/us/cmu_us_slt_arctic_hts/hts (so you will end up having two files: cmu_us_slt_arctic_hts.htsvoice and feat.list)
4. Edit festival/lib/voices/us/cmu_us_slt_arctic_hts/festvox/cmu_us_slt_arctic_hts.scm. You need to set the following hts_engine_params:

(set! cmu_us_slt_arctic_hts::hts_engine_params
      (list
       (list "-m" (path-append hts_data_dir "cmu_us_slt_arctic_hts.htsvoice"))
       '("-g" 0.0)
       '("-b" 0.0)
       '("-u" 0.5)
       ))

5. Check that the .htsvoice file name matches the one in festvox/cmu_us_slt_arctic_hts.scm

If you have doubts check how the debian package does it, it's working well there.

In case you want to try, there is also `mimic` [4], a flite fork for the Mycroft AI [5] that will have support for hts voices by the end of this week (or next week) [6].

Best,

Sergio Oller

[1] https://packages.debian.org/unstable/festvox-us-slt-hts
[2] https://github.com/peterdrysdale/bellbird_extras/blob/master/HTSmulti2single.py
[3] http://festvox.org/packed/festival/2.1/festvox_cmu_us_slt_arctic_hts.tar.gz
[4] https://github.com/MycroftAI/mimic
[5] https://mycroft.ai/
[6] https://github.com/MycroftAI/mimic/pull/108



2017-03-07 9:42 GMT+01:00 payman shaykhmehdi <payman.shaykhmehdi@xxxxxxxxx>:
Hi,
I have generated a new hts voice using hts demo. All I have is a .htsvoice file and I want to use this voice in festival.
I have placed the .htsvoice file in /usr/share/festival/voices/english/cmu_arctic_slt_hts but doesn't work.

How can we use this new hts voice files in festival?


References
[hts-users:04497] How to use new hts voice format in festival, payman shaykhmehdi