Created
February 24, 2019 19:49
-
-
Save erzk/5b28ae422b8a5cef91f91967c657bf9c to your computer and use it in GitHub Desktop.
Split continuous audio files on occurrence of silence
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import glob, os | |
for file in sorted(glob.glob("*.wav")): | |
print("#"*40) | |
print(file) | |
os.system("python audioAnalysis.py silenceRemoval -i " + file + " --smoothing 0.2 --weight 0.1") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment