[hts-users:03608] Re: dynamic window specification
- Subject: [hts-users:03608] Re: dynamic window specification
- From: "Heiga ZEN (Byung Ha CHUN)" <heigazen@xxxxxxxxxx>
- Date: Thu, 14 Feb 2013 17:25:47 +0000
- Cc: "hts-engine-users@xxxxxxxxxxxxxxxxxxxxx" <hts-engine-users@xxxxxxxxxxxxxxxxxxxxx>
- Delivered-to: hts-users@xxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=aKBHTsZzr+VXhcSPR4FKrbZBKn3qHOlDJZvbTx6zjq4=; b=fS2dPYCXK+7JeZ6vAtp/0Eme402kGGQs9gcHs0jyKYrm5/qy3uYgp8I06Af1cWDjL9 Q90ma3j52VO+fKutuYmhyrLTLF0G5YdgnhjQIf4qEwXDqH0FDmkBiLaaF4bgsurKpDeh 61ACIBUme85LZYeY3fipQi6l1T/XrfpLxCQy7QzZXFRTV9tOEiOljr2sEau+EQl2Dcaw bd9JmEq358Pcve6pRP7CraUgHnEYdSYct1r7zSNMPpjFCRRM4z5hJg85NhooHj/HQidJ NcE7m2chbxU3lLMUmYTF+MgKDkHLO7zELnMkvoaHIR5VIdwBPx5AxtyS0G3/i44fGT89 dZ7Q==
They are the same. However, to avoid confusions, I recommend you to use
5 1.0 1.0 [-2.0] 1.0 0.0
for this case.
I personally think that it was my mistake to introduce the following code.
if (fsize % 2 == 0)
win->r_width[i]--;
Regards,
Heiga
2013/2/14 那兴宇 <nxy-yzqs@xxxxxxx>:
> Hi all,
>
> In current MLPG implementations, either HMGenS or hts_engine_API, the default dynamic window is symmetrical.
> But I wonder what would happen if I set unsymmetrical window.
> So I checked the HGen(in HTS-2.2) and HTS_model(in hts_engine_API-1.06), found similar codes below;
> + /* set pointer */
> + length = fsize / 2;
> + win->coefficient[i] += length;
> + win->l_width[i] = -length;
> + win->r_width[i] = length;
> + if (fsize % 2 == 0)
> + win->r_width[i]--;
>
> I suppose it means I can set unsymmetrical window like
> + 4 1.0 1.0 [-2.0] 1.0
> with '-2.0' be the coeff. for current frame, right?
> But what if I set
> + 5 1.0 1.0 [-2.0] 1.0 0.0
> as unsymmetrical window in a symmetrical form? Is it the same?
> Please drop in any opinion.
> Thank you.
>
> Best,
> --
> Xingyu Na (那兴宇)
> http://www.idiap.ch/~xna/
> Beijing Institute of Technology [naxy(at)bit.edu.cn]
> Idiap Research Institute [xingyu.na(at)idiap.ch]
>
--
Heiga ZEN (in Japanese)
Byung Ha CHUN (in Korean)
<heigazen@xxxxxxxxxx>
- Follow-Ups
-
- [hts-users:03613] Re: dynamic window specification, 那兴宇
- [hts-users:03616] Re: dynamic window specification, Matt Shannon
- References
-
- [hts-users:03607] dynamic window specification, 那兴宇