I have tried 3 ways:remove '-w', replace it with '-2' and replace it with '-4'. They all worked well.
So you mean it's because the version updating?
Ph. D Student
Recearch Center of Digital Communication Technology
Beijing Institute of Technology
发件人： Nicholas Volk
发送时间： 2009-07-13 20:48:47
主题： [hts-users:02097] Re: Error in CMU demo
It all depends on the version of Sox you are using. Latest versions use -2
instead of -w. Go through hts-users mailing list archives for details.
> When I make the CMU demo, everything work well except when it use the
> 'sox' command.
> The error said '-w' is an invalid option. This happens when the script
> 'train.pl' call the command 'sox'.
> Then I checked the C code file of SOX, and found no such option -w was
> I removed all the -w options of SOX in train.pl, then make it. And it
> ended successfully.
> So I want to ask: is this a mistake or something else?
> Na Xingyu
> Ph. D Student
> Recearch Center of Digital Communication Technology
> Beijing Institute of Technology
> Beijing, China