ddd commited on
Commit
911deb1
1 Parent(s): 306955d

fix bug of single vowel CC

Browse files
Files changed (1) hide show
  1. inference/svs/base_svs_infer.py +1 -1
inference/svs/base_svs_infer.py CHANGED
@@ -123,7 +123,7 @@ class BaseSVSInfer:
123
  # 0 0 1
124
  if len(note_in_this_word) > 1: # is_slur = True, we should repeat the YUNMU to match the 2nd, 3rd... notes.
125
  for idx in range(1, len(note_in_this_word)):
126
- ph_lst.append(ph_in_this_word[1])
127
  note_lst.append(note_in_this_word[idx])
128
  midi_dur_lst.append(midi_dur_in_this_word[idx])
129
  is_slur.append(1)
 
123
  # 0 0 1
124
  if len(note_in_this_word) > 1: # is_slur = True, we should repeat the YUNMU to match the 2nd, 3rd... notes.
125
  for idx in range(1, len(note_in_this_word)):
126
+ ph_lst.append(ph_in_this_word[-1])
127
  note_lst.append(note_in_this_word[idx])
128
  midi_dur_lst.append(midi_dur_in_this_word[idx])
129
  is_slur.append(1)