summaryrefslogtreecommitdiff
path: root/datasets/dataset.pl
diff options
context:
space:
mode:
Diffstat (limited to 'datasets/dataset.pl')
-rwxr-xr-xdatasets/dataset.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/datasets/dataset.pl b/datasets/dataset.pl
index 8b77af9..edde43f 100755
--- a/datasets/dataset.pl
+++ b/datasets/dataset.pl
@@ -48,7 +48,7 @@ sub process($) {
my $a_tmp = "a_" . $filename;
my $b_tmp = "b_" . $filename;
- if ($opt_c) {
+ if (!$opt_c) {
print "Normalizing...";
system("sox", "-v", 0.945, $filename, $a_tmp);
} else {
@@ -56,7 +56,7 @@ sub process($) {
}
system("./spread.sh", $a_tmp, $b_tmp, 0.999, $scale, 1.001);
system("./split44k.sh", $b_tmp, 8, $name);
- if ($opt_c) {
+ if (!$opt_c) {
system("/bin/rm", $a_tmp);
}
system("/bin/rm", $b_tmp);