Permalink
Browse files

(scripts - Training.pl - delete temporary files generated during gene…

…ration, to save disk space)

Ignore-this: e0840d12dc8259cc2d4f0de6c8a95997

darcs-hash:20100121230903-3a4db-085e16eb1c3c58d65c0383e84e7369b10b81aeb4.gz
  • Loading branch information...
1 parent da5dd86 commit b29f9cd53c9bf871233ad6f0dc56e188b95be7d7 @MattShannon committed Jan 21, 2010
Showing with 7 additions and 0 deletions.
  1. +7 −0 scripts/Training.pl
View
@@ -1146,6 +1146,13 @@ ($)
print "Synthesizing waveform from STRAIGHT parameters...\n";
shell("$MATLAB < $datdir/scripts/synthesis.m");
print "done\n";
+
+ # clean-up temporary files
+ foreach $file (@FILE) {
+ $base = `basename $file .mgc`;
+ chomp($base);
+ shell("rm -f $gendir/$base.sp $gendir/$base.f0 $gendir/$base.ap $gendir/$base.ap\[12345\]");
+ }
}
##################################################################################################

0 comments on commit b29f9cd

Please sign in to comment.