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

[hts-users:01968] Bug in HTS-demo/data/scripts/window.pl


Hi all,

I found a bug related to voiced/unvoiced boundary handling in HTS-demo/data/scripts/window.pl

--- window.pl 2008-09-02 12:34:47.298587000 +0000
+++ window.pl 2009-05-06 09:34:08.462018000 +0000
@@ -89,6 +89,9 @@
          # check space boundary (ex. voiced/unvoiced boundary)
          $boundary = 0;
          for ($k=-$nlr; $k<=$nlr; $k++) {
+            if ($win[$k+$nlr+1]==0.0) {
+               next;
+            }
if ($t+$k>=0 && $t+$k<$T && $original[($t+$k)*$dim+$j] == $ignorevalue) {
                $boundary = 1;
             }

Note that this bug doesn't cause any problem if you're using the standard window coefficients files provided with HTS-demo.

Best regards,

Heiga ZEN (Byung Ha CHUN)

--
--------------------------
Heiga ZEN (Byung Ha CHUN)
Speech Technology Group
Cambridge Research Lab
Toshiba Research Europe
phone: +44 1223 436975

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________