rnnoise-models/tools/sounds.raw.sh
2018-08-30 00:24:59 -04:00

12 lines
217 B
Bash
Executable File

#!/bin/sh
for i in cough laugh
do
touch $i.raw
SZ=`wc -c $i.raw | cut -d' ' -f1`
while [ "$SZ" -lt 300000000 ]
do
cat $i/*.raw >> $i.raw
SZ=`wc -c $i.raw | cut -d' ' -f1`
done
done