[hts-users:00133] Re: about training files
- Subject: [hts-users:00133] Re: about training files
- From: "Heiga ZEN (Byung Ha CHUN)" <zen@xxxxxxxxxxxxxxxx>
- Date: Fri, 19 Aug 2005 14:40:02 +0900
- Organization: Nagoya Institute of Technology, Japan
- User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
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