Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Split continuous audio files on occurrence of silence
#!/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
You can’t perform that action at this time.