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 568928c..69863b7 100755
--- a/datasets/dataset.pl
+++ b/datasets/dataset.pl
@@ -29,7 +29,8 @@ sub process($) {
}
if ($ext eq 'mp3') {
- system('ffmpeg', '-i', $filename, $name . '.wav');
+ print "Converting mp3 to wav\n";
+ system('ffmpeg', '-y', '-hide_banner', '-loglevel', 'error', '-i', $filename, $name . '.wav');
$filename = $name . '.wav';
}
my $soxi = `soxi $filename`;
@@ -47,7 +48,6 @@ sub process($) {
}
}
-
print "Seconds: $seconds\n";
my $a_tmp = "a_" . $filename;