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

[hts-users:03771] Re: raw2wav generates invalid wav files


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