Download scripts/dump_features_parallel.sh from Serkan007/rnnoise-modelim: direct link, hf CLI and curl.
- Browser
- Download file 250 Bytes
-
https://huggingface.co/Serkan007/rnnoise-modelim/resolve/main/scripts/dump_features_parallel.sh
- Command line
-
hf download hf://Serkan007/rnnoise-modelim/scripts/dump_features_parallel.sh
-
curl -L -o dump_features_parallel.sh https://huggingface.co/Serkan007/rnnoise-modelim/resolve/main/scripts/dump_features_parallel.sh
250 Bytes
| cmd=$1 | |
| speech=$2 | |
| noise=$3 | |
| fgnoise=$4 | |
| output=$5 | |
| count=$6 | |
| rir=$7 | |
| split=400 | |
| seq $split | parallel -j +2 "$cmd -rir_list $rir $speech $noise $fgnoise $output.{} $count" | |
| mv $output.1 $output | |
| for i in $output.* | |
| do | |
| cat $i >> $output | |
| rm $i | |
| done | |