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

[hts-users:00181] Re: adding new language


Well I have checked the f0 files in the original hts demo and the values
were like:

145.683
145.81
146.363
143.789
144.369
144.981
146.285
147.798
148.425
148.662
152.237
153.206
153.75
154.09
154.149
151.575
148.836
147.957
147.801
144.776
141.303
140.924
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


my values of f0 (using different versions of speech tools pda):

2.81973e+31
0.00610188
219.974
3.78405e-23
309242
-2.27633e-20
1.42612e+30
-2.2167e-07
-4.93042e-22
4.14523e+06
0
0
-2.88618e+13
-2.53785e+28
1.45001e+13
3.42235e+13
1.86944e-22
-1.39997e-29
-11710.6
0
0
0


in the config log file of sptk is written "not big endian".

What is the usual range of values of f0?

How to create "normal" f0 files?

Thanks.

Regards,

Tomas Sykora
------------------------------

my script for f0 extraction:

#!/usr/bin/php
<?

if ($handle = opendir('wav')) {
   echo "Directory handle: $handle\n";
   echo "Files:\n";

   while (false !== ($file = readdir($handle))) {
       if(!((strcmp($file,'.') == NULL) || (strcmp($file,'..') == NULL))) {
                system("/home/tomx/fei/speech_tools/speech_tools/bin/pda
wav/".$file." -o f0/".$file.".f0 -fmin 80 -fmax 200 -L");
                system("/home/tomx/fei/SPTK-3.0/src/bin/x2x/x2x +af
f0/".$file.".f0 > f0_float/".$file.".f0");
                system("/home/tomx/fei/SPTK-3.0/src/bin/x2x/x2x +fa
f0_float/".$file.".f0 > f0_human/".$file.".f0");
                $i++;
        }
   }

closedir($handle);
}

?>



Follow-Ups
[hts-users:00182] Re: adding new language, Nicholas Volk
[hts-users:00183] Re: adding new language, Heiga ZEN (Byung Ha CHUN)
References
[hts-users:00175] adding new language, Tomas Sykora
[hts-users:00176] Re: adding new language, Heiga ZEN (Byung Ha CHUN)
[hts-users:00177] Re: adding new language, Tomas Sykora
[hts-users:00178] Re: adding new language, Heiga ZEN (Byung Ha CHUN)
[hts-users:00179] Re: adding new language, Tomas Sykora
[hts-users:00180] Re: adding new language, Heiga ZEN (Byung Ha CHUN)