htsengine(1)
π htsengine β HMM-based speech synthesis engine π
okay bestie, welcome to the htsengine(1) manual page, General Commands Manual edition. this is the one that makes your computer literally speak, and we're gonna walk through it together. grab a strawberry π and let's go.
β¨ NAME β¨
hts_engine β HMM-based speech synthesis engine
like. it synthesizes speech. from HMMs. main character energy fr fr π
πΈ SYNOPSIS πΈ
hts_engine [options] [infile]
that's it. that's the whole vibe. options go in, optionally an infile goes in, speech comes out π¦
π DESCRIPTION π
so this manual page documents the hts_engine command, briefly. quick little rundown, no yapping.
ngl this page was written for the Debian distribution because the original program does not have a manual page. not me showing up to write the docs nobody else wrote π instead, it has documentation in the GNU Info format β see below (iykyk).
hts_engine is a program that synthesizes a speech waveform from HMMs trained by the HMM-based speech synthesis system (HTS). that's the whole point. that's the gig. it takes trained models and turns them into actual audible words. iconic.
π OPTIONS π
a summary of options is included below. here's the full menu, no skips, no cuts:
-mhtsvoice β HTS voice files. this is your voice model bestie, the whole personality lives here.-ods β filename of output label with duration-oms β filename of output spectrum-ofs β filename of output Log F0-ols β filename of output low-pass filter-ors β filename of output raw audio (generated speech)-ows β filename of output wav audio (generated speech)-ots β filename of output trace information-vpβ use phoneme alignment for duration-ii f1 .. fi β enable interpolation & specify number(i), coefficient(f)-si β sampling frequency[auto][1--]-pi β frame period (point)[auto][1--]-af β all-pass constant[auto][0.0--1.0]-bf β postfiltering coefficient[0.0][0.0--1.0]-rf β speech speed rate[1.0][0.0--]-fmf β add half-tone[0.0][--]-uf β voiced/unvoiced threshold[0.5][0.0--1.0]-jmf β weight of GV for spectrum[1.0][0.0--]-jff β weight of GV for Log F0[1.0][0.0--]-zi β audio buffer size (ifi==0, turn off)[0][0--]- infile β label file
and the tea on the output files π«: the generated spectrum, log F0, and low-pass filter coefficient sequences are saved in natural endian, binary (float) format. so don't go opening those in a text editor and expecting a cute little readable file, okay? that's not what they are. π
π EXAMPLE π
if you installed hts-voice-nitech-jp-atr503-m001 in the current directory, the following command lets you make a voice file from input.lab:
% hts_engine -s 48000 -p 240 -a 0.55 \
-m nitech_jp_atr503_m001.htsvoice \
-ow output.wav \
input.lab
see how the backslashes keep the command going across lines? that's the move. output.wav walks out the door and it's literally talking. obsessed. π₯
π AUTHOR π
this manual page was written by Koichi Akabe <vbkaisetsu@gmail.com> for the Debian system (and may be used by others). permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation.
on Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. go read it if you want the full lore, it's giving required reading π
and that's the whole page bestie!! this was the htsengine(1) manual, General Commands Manual, and yes the footer really is just htsengine(1) again β no version number, no date, just the name doing a little encore. periodt. πβ¨
π¦ where this page comes from
- debian bookworm: htsengine 1.10-6 Β· BSD-3-Clause
- debian trixie: htsengine 1.10-7+b2 Β· BSD-3-Clause
- ubuntu jammy: htsengine 1.10-4 Β· BSD-3-Clause
- ubuntu noble: htsengine 1.10-7build1 Β· BSD-3-Clause
- ubuntu questing: htsengine 1.10-7build1
- ubuntu resolute: htsengine 1.10-7build2 Β· BSD-3-Clause
- ubuntu stonking: htsengine 1.10-7build2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms