better
This commit is contained in:
parent
185db1aed8
commit
83cc299add
13 changed files with 276 additions and 37 deletions
|
|
@ -7,9 +7,9 @@ for i in *.wav; do
|
|||
echo "$i"
|
||||
|
||||
while true; do
|
||||
if ffmpeg -y -i $b$i -af silenceremove=1:0:-${n}dB:stop_periods=1:stop_duration=0:stop_threshold=-${n}dB -ar 11025 -ac 1 ../fishtalk/samples/$i 2>&1 | grep "empty"; then
|
||||
if ( ffmpeg -y -i $b$i -af silenceremove=1:0:-${n}dB:stop_periods=1:stop_duration=0:stop_threshold=-${n}dB -ar 11025 -ac 1 ../fishtalk/samples/$i 2>&1 | grep "empty" ); then
|
||||
n=`expr $n + 10`
|
||||
b="../samples_older"
|
||||
b="../samples_older/"
|
||||
continue
|
||||
fi
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue