Spaces:
Running
Running
Update utils/extract_pitch.py
Browse files- utils/extract_pitch.py +1 -1
utils/extract_pitch.py
CHANGED
|
@@ -12,7 +12,7 @@ random.seed(0)
|
|
| 12 |
|
| 13 |
def REAPER_F0(wav_path, sr=24000, frame_period=0.01): # frame_period s
|
| 14 |
if not os.path.isfile(f'{wav_path}.f0'):
|
| 15 |
-
cmd = f'
|
| 16 |
os.system(cmd)
|
| 17 |
f0 = []
|
| 18 |
try:
|
|
|
|
| 12 |
|
| 13 |
def REAPER_F0(wav_path, sr=24000, frame_period=0.01): # frame_period s
|
| 14 |
if not os.path.isfile(f'{wav_path}.f0'):
|
| 15 |
+
cmd = f'REAPER/build/reaper -i {wav_path} -f {wav_path}.f0 -e {frame_period} -x 1000 -m 65 -a'
|
| 16 |
os.system(cmd)
|
| 17 |
f0 = []
|
| 18 |
try:
|