reaper.py 237 B

1234567891011121314
  1. import os
  2. import glob
  3. import sys
  4. import subprocess
  5. os.chdir(sys.argv[1])
  6. for f in glob.glob("*.wav"):
  7. f0 = os.path.splitext(f)[0]+".f0"
  8. pmk = os.path.splitext(f)[0]+".pmk"
  9. subprocess.call(["reaper","-i",f,"-f",f0,"-p",pmk,"-a"])