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

[hts-users:01504] Re: 8000 hz sampling rate issue


Hi,

Cenk Demiroglu wrote (2008/07/03 8:39):

I am trying to train an 8khz voice. Which parameters should I modify
at the training script besides the sampling rate, window length and frame rate?

I think the following variables should be modified for 8kHz sampling:

 FRAMELEN    Frame length in point (default=400)
 FRAMESHIFT  Frame shift in point (default=80)
 FFTLEN      FFT length in point (default=512)
 FREQWARP    Frequency warping factor (default=0.42)
 MGCORDER    Order of MGC analysis (default=24 for cepstral form, default=12
             for LSP form)
 SAMPFREQ    Sampling frequency in Hz (default=16000)

You can set these variables through configure script.
For 8kHz, for example

./configure FRAMELEN=200 FRAMESHIFT=40 FFTLEN=256 FREQWARP=0.31 MGCORDER=12 SAMPFREQ=8000

Also how should I modify the hts_engine to work with the 8khz voice? Which parameters should I change in the vocoder etc?

I think you don't need to modify source code of hts_engine.
Please use the following command-line options:

   -s  i          : sampling frequency                                      [16000][   1--48000]
   -p  i          : frame period (point)                                    [   80][   1--]
   -a  f          : all-pass constant                                       [ 0.42][ 0.0--1.0]


Best regards,

Heiga ZEN (Byung Ha CHUN)

--
------------------------------------------------
Heiga ZEN     (in Japanese pronunciation)
Byung Ha CHUN (in Korean pronunciation)

Department of Computer Science and Engineering
Nagoya Institute of Technology
Gokiso-cho, Showa-ku, Nagoya 466-8555 Japan

http://www.sp.nitech.ac.jp/~zen
------------------------------------------------

References
[hts-users:01502] 8000 hz sampling rate issue, Cenk Demiroglu