Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
philipstarkey committed May 8, 2020
2 parents 2cd9497 + 6310ccf commit b6ed5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoscrub/__init__.py
Expand Up @@ -877,7 +877,7 @@ def silenceFilterGraph(silences, factor, delay=0.25, audio_rate=44100, hasten_au
tempos.append('atempo=%.3f/%d'%(factor, 2**int(q)))
tempo_str = ','.join(tempos)

astrings.append('%satrim=%s:%s,%s,volume=%.3f[a%i];' % (a_in, ti, tf, tempo_str, silent_volume, (2*i)))
astrings.append('%satrim=%s:%s,asetpts=PTS-STARTPTS,%s,volume=%.3f[a%i];' % (a_in, ti, tf, tempo_str, silent_volume, (2*i)))
else:
# Use first 1/factor samples of silence for audio (no pitch increase)
astrings.append('%satrim=%s:%s,asetpts=PTS-STARTPTS,volume=%.3f[a%i];' % (a_in, ti, ta, silent_volume, (2*i)))
Expand Down

0 comments on commit b6ed5a7

Please sign in to comment.