kevinwang676 commited on
Commit
3ef1dd0
·
1 Parent(s): b7ee008

Update utils/pitch_ld_extraction.py

Browse files
Files changed (1) hide show
  1. utils/pitch_ld_extraction.py +1 -1
utils/pitch_ld_extraction.py CHANGED
@@ -57,7 +57,7 @@ def extract_loudness(wav_path: str | Path, ld_path: str | Path=None, frame_perio
57
 
58
  def REAPER_F0(wav_path, sr=24000, frame_period=0.01): # frame_period s
59
  if not os.path.isfile(f'{wav_path}.f0'):
60
- cmd = f'REAPER/build/reaper -i {wav_path} -f {wav_path}.f0 -e {frame_period} -x 1000 -m 65 -a'
61
  os.system(cmd)
62
  f0 = []
63
  with open(f'{wav_path}.f0', 'r') as rf:
 
57
 
58
  def REAPER_F0(wav_path, sr=24000, frame_period=0.01): # frame_period s
59
  if not os.path.isfile(f'{wav_path}.f0'):
60
+ cmd = f'reaper-tmp/REAPER/build/reaper -i {wav_path} -f {wav_path}.f0 -e {frame_period} -x 1000 -m 65 -a'
61
  os.system(cmd)
62
  f0 = []
63
  with open(f'{wav_path}.f0', 'r') as rf: