[hts-users:03771] Re: raw2wav generates invalid wav files
- Subject: [hts-users:03771] Re: raw2wav generates invalid wav files
- From: Keiichiro Oura <uratec@xxxxxxxxxxxxxxx>
- Date: Sat, 11 May 2013 00:33:11 +0900
- Cc: uratec <uratec@xxxxxxxxxxxx>
- Delivered-to: hts-users@xxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ELTWWWVGvOBOd0TFYkod1xn4AN3ylgAM8E6ghLuVSRo=; b=sqyDaBuFpKf7tZUDepvZZ8J9VdzhzLe1KJJ7QhQUcTggUGLH/DRr97i+GxZaGqJNkR hd4jePMDTToqKdENXQ+d7MpPDGEhPswOOyv5AqsrNZCGWKi+MApEJaxIU9cQF56fh3dA MnmgENkX4LwSRx4EIfIrd9/a+Bu8Ypbb484SYgZ+9YqkLAirxLvxIwM270lDB98YJWnr ZqRkd9YBOuXynHXaHD96XfC7URWf95BTr80z//Jjr137zUUl/K8tetyl37WihJL/Jz0B +KY+RoTiaQ7/Z275eIjuYwkZYinaDI639TKo4BYobuP/pbiHfwhV67OPjYi86GPp1RSS zx0A==
Hi,
SPTK on Mac OS is not checked yet.
Please, use other converter such as sox.
Regards,
Keiichiro Oura
2013/5/11 Liu, Hao <h.liu.12@xxxxxxxxx>:
> Hi,
>
> Thanks for you swift reply. I've applied the patch, but it's for normal demo
> instead of the STRAIGHT one and it's for generating synthetic utterances I
> think. However, my error occurs when converting ARCTIC raw files to wav
> files before STRAIGHT extracts parameters from them. It seems there's some
> problem with my SPTK-3.6. So I tested the raw2wav programme in my SPTK:
>
> By running
>
> $raw2wav -s 48 cmu_us_arctic_slt_a0001.raw
>
> or
>
> $raw2wav -s 48000 cmu_us_arctic_slt_a0001.raw
>
> the resulting wav file is invalid (no wave header)...
>
> Actually I had an error while building SPTK-3.6 on my mac.
>
> "delta.c:589: internal compiler error: Segmentation fault: 11"
>
> By changing "CC = gcc" to "CC = clang" in the Makefile for delta.c as
> suggested, it finally built without error.
>
> I don't know if such change harmed my SPTK-3.6 installation.
>
> Please help.
>
> All the best,
> Hao
>
>
>
> On 10 May 2013, at 15:18, Keiichiro Oura <uratec@xxxxxxxxxxxxxxx>
> wrote:
>
> Hi,
>
> Did you apply following patch?
> http://hts.sp.nitech.ac.jp/hts-users/spool/2012/msg00407.html
>
> Regards,
> Keiichiro Oura
>
>
>
> 2013/5/10 Liu, Hao <h.liu.12@xxxxxxxxx>:
>
> Hi everyone,
>
> In 2.3alpha STRAIGHT demo, I got the following error:
>
> Error using wavread (line 163)
>
> Invalid Wave File. Reason: File does not contain required 'WAVE' data chunk.
>
> I'm using SPTK-3.6, I suspect there's something wrong with this line.
> /usr/local/SPTK/bin/raw2wav -s 48000 -d wav ${raw};
>
> So I tried to use raw2wav to convert a raw file to wav myself, and the
> result wav is invalid as well…
>
> Please help.
>
> All the best,
> Hao
>
>
>
>
- References
-
- [hts-users:03767] raw2wav generates invalid wav files, Liu, Hao
- [hts-users:03768] Re: raw2wav generates invalid wav files, Keiichiro Oura
- [hts-users:03770] Re: raw2wav generates invalid wav files, Liu, Hao