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

[hts-users:01682] Re: STRAIGHT Demo


Hi,

Heiga ZEN (Byung Ha CHUN) wrote (2008/09/11 8:57):

I checked it both on WinXP+Cygwin & Linux and found that it happened on Cygwin only. And I also found that "${INTERPOLATE} -p rather than "DFS -a 1 -1" caused this problem. Please apply the attached patch code to interpolation.c and report whether it solves your problem or not.

The bug in interpolate.c was the use of uninitialized variable. The following patch code also solves this problem.

--- interpolate.c	Thu Sep 11 08:52:10 2008
+++ interpolate.c	Thu Sep 11 08:48:08 2008
@@ -136,7 +134,6 @@
    int  i, period=PERIOD, start=START;
    FILE *fp=stdin;
    double *x;
-   Boolean padinput;
+   Boolean padinput=PADINPUT;

    if ((cmnd=strrchr(argv[0], '/'))==NULL)
       cmnd = argv[0];

Regards,

Heiga ZEN (Byung Ha CHUN)

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

Follow-Ups
[hts-users:01685] Re: STRAIGHT Demo, Kim, SangJin
References
[hts-users:01660] STRAIGHT Demo, Xingchi Xian
[hts-users:01679] Re: STRAIGHT Demo, Kim, SangJin
[hts-users:01681] Re: STRAIGHT Demo, Heiga ZEN (Byung Ha CHUN)