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

[hts-users:03546] Bug in HTS-2.3 alpha


Hi,

A tiny bug was found in demo scripts of HTS-2.3 alpha.
(In SPTK-3.6, sampling frequency options of all commands were unified into kHz.)

+++ scripts/Training.pl 28 Dec 2012 07:47:46 -0000
@@ -2210,7 +2210,7 @@
          $line .= "$MGLSADF -m " . ( $ordr{'mgc'} - 1 ) . " -p $fs -a
$fw -c $gm $mgc | ";
          $line .= "$X2X +fs -o > $gendir/$base.raw";
          shell($line);
-         $line = "$RAW2WAV -s $sr -d $gendir $gendir/$base.raw";
+         $line = "$RAW2WAV -s " . ( $sr / 1000 ) . " -d $gendir
$gendir/$base.raw";
          shell($line);

          $line = "rm -f $gendir/$base.unv";

Regards,
Keiichiro Oura