catiR commited on
Commit
fbb78e7
·
1 Parent(s): 90029f5
Files changed (1) hide show
  1. scripts/reaper2pass.py +1 -1
scripts/reaper2pass.py CHANGED
@@ -53,7 +53,7 @@ def save_pitch(f0_data, save_path,hed=True):
53
  with open(save_path,'w') as handle:
54
  if hed:
55
  handle.write('TIME\tF0\n')
56
- handle.write(''.join(['\t'.join(l) + '\n' for l in f0_data]))
57
 
58
 
59
  # 2 pass pitch estimation
 
53
  with open(save_path,'w') as handle:
54
  if hed:
55
  handle.write('TIME\tF0\n')
56
+ handle.write(''.join([f'{t}\t{f}\n' for t,f in f0_data]))
57
 
58
 
59
  # 2 pass pitch estimation