diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-25 00:21:06 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-25 00:21:06 +0200 |
| commit | 481a683899a10fa32d5d1f7c2e083c19e7e0a110 (patch) | |
| tree | 1ccdbb5bba661fbadbe3e0bef305e102fc9459b0 /datasets/dataset.pl | |
| parent | bbd072fe60a9ecb9f0022ba686830048ef665e8a (diff) | |
glob
Diffstat (limited to 'datasets/dataset.pl')
| -rwxr-xr-x | datasets/dataset.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datasets/dataset.pl b/datasets/dataset.pl index 71c594f..3b02199 100755 --- a/datasets/dataset.pl +++ b/datasets/dataset.pl @@ -75,7 +75,7 @@ sub process($) { while (readdir $dh) { next if /^\./; my $fn = $_; - my $n = rand( 2 * $j ) - $j; + my $n = rand( 2 * $opt_j ) - $opt_j; system 'sox', $name . '/' . $fn, $name . '/z_' . $fn, 'pitch', $n; system 'rm', $name . '/' . $fn; } |
