[hts-users:03178] Re: very small bug fix in HGen.c for MSD streams when using non-standard windows
- Subject: [hts-users:03178] Re: very small bug fix in HGen.c for MSD streams when using non-standard windows
- From: Keiichiro Oura <uratec@xxxxxxxxxxxxxxx>
- Date: Fri, 24 Feb 2012 00:08:48 +0900
- Authentication-results: mr.google.com; spf=pass (google.com: domain of ura228@xxxxxxxxx designates 10.180.101.200 as permitted sender) smtp.mail=ura228@xxxxxxxxx; dkim=pass header.i=ura228@xxxxxxxxx
- Cc: uratec <uratec@xxxxxxxxxxxx>
- Delivered-to: hts-users@xxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rXsj2gDUTHjwuCELOE68pmYS9hdAHAzmdoZVK8TNddw=; b=iTcffZUkYGFG3+kfrt1y1h5mYdaNIsnYN5tG4oQhdz2tES6T1BBF6GBmguBJzSV2ly tMup7WcZB4I8UwJj1bFt/rD82dZtJd/g5vRX+4OtrlMV2zqIvKfiNfnvvxzVs63PRYj5 vkdbnENQMZAoiTiSJJpkOYL+lyh5LpUF0HM0o=
Hi,
Thank you for your report.
I'll check it.
Regards,
Keiichiro Oura
2012/2/23 Matt Shannon <sms46@xxxxxxxxx>:
> I've noticed a very small bug in HGen.c. When deciding whether to consider
> a frame as a boundary frame in ChkBoundary, there is a clause
> "pst->win.coef[i][j] != 0.0". I believe this clause should not be there.
>
> As an example of what can go wrong, consider replacing the standard lf0
> delta window with:
>
> "5 -1.0 0.0 0.0 0.0 1.0"
>
> If there are two voiced regions with a gap of only one unvoiced frame in
> between them, then the voiced frames on either side of the unvoiced frame
> are incorrectly marked as _not_ being part of the boundary for this delta
> window. This causes spurious off-diagonal terms in the lf0 precision matrix
> ($\transpose{W} U^{-1} W$), resulting in correlations between the lf0 value
> in the two voiced regions, which are usually modelled as being uncorrelated.
> I have confirmed these spurious correlations exist in the above situation
> with both HTS 2.1 and HTS 2.2.
>
> During training the HTS demo (specifically window.pl) correctly marks such
> frames as part of the boundary. I have not looked at hts_engine.
>
> The fix is to remove the above clause from the if statement.
>
> Matt Shannon
>
- References
-
- [hts-users:03175] very small bug fix in HGen.c for MSD streams when using non-standard windows, Matt Shannon