Advertisement
CookieAnon

Untitled

May 16th, 2020
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. def normalize_wav_volumes_mixmode(directory, amplitude=0.08):
  2.     subdirectories = [x[0] for x in os.walk(directory)]
  3.     for subdirectory in subdirectories:
  4.         os.system(f"normalize-audio -a {amplitude} -b '{subdirectory}/'*.wav")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement