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

[hts-users:00133] Re: about training files


Hi,

eem1lz wrote:

If you donot mind, I want to ask another question. The speech files I have got are provided by CMU. These file are recorded as *.wav format. If I want to use SPTK, these files need to be converted to *.raw format or other formats
without header.
I was doing the conversion one by one, but I realized that it is foolish to do the conversion in that way if we need a large mount of files. so is there any tool that can do it automatically for multi-files.

I always use sox to remove RIFF header like as follows:

for wav ./wav/*.wav
do
  raw=./raw/`basename $wav .wav`.raw
  sox -c 1 -s -w -t wav -r 16000 $wav -c 1 -s -w -t wav -r 16000 $raw
done

Please visit http://sox.sourceforge.net/ or type "sox -h" for details about sox.

Regards,

Heiga ZEN (Byung Ha CHUN)

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

  Department of Computer Science and Engineering
  Graduate School of Engineering
  Nagoya Institute of Technology
  Japan

  e-mail: zen@xxxxxxxxxxxxxxxx
     web: http://kt-lab.ics.nitech.ac.jp/~zen
 ------------------------------------------------


Follow-Ups
[hts-users:00134] Re: about training files, Kishore Prahallad
References
[hts-users:00132] Re: about training files, eem1lz