Spaces:
Runtime error
Runtime error
Commit
·
edaed94
1
Parent(s):
5ab1e9c
fix F0
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ def compute_f0_nn(filename, device):
|
|
| 63 |
# CREPE was not trained on silent audio. some error on silent need filter.
|
| 64 |
periodicity = torchcrepe.filter.median(periodicity, 9)
|
| 65 |
pitch = torchcrepe.filter.mean(pitch, 3)
|
| 66 |
-
pitch[periodicity < 0.1] = 0
|
| 67 |
pitch = pitch.squeeze(0)
|
| 68 |
return pitch
|
| 69 |
|
|
@@ -196,13 +196,16 @@ with app:
|
|
| 196 |
with gr.Tabs():
|
| 197 |
with gr.TabItem("sovits 5.0"):
|
| 198 |
gr.Markdown(value="""
|
| 199 |
-
|
| 200 |
|
| 201 |
https://github.com/Multi-Singer/Multi-Singer.github.io
|
|
|
|
|
|
|
| 202 |
|
| 203 |
-
mix_encoder: whisper + hubert,
|
|
|
|
|
|
|
| 204 |
|
| 205 |
-
[轻度伴奏可以无需去伴奏]就能直接进行歌声转换的SVC库
|
| 206 |
""")
|
| 207 |
sid = gr.Dropdown(label="音色", choices=[
|
| 208 |
"22", "33", "47", "51"], value="47")
|
|
|
|
| 63 |
# CREPE was not trained on silent audio. some error on silent need filter.
|
| 64 |
periodicity = torchcrepe.filter.median(periodicity, 9)
|
| 65 |
pitch = torchcrepe.filter.mean(pitch, 3)
|
| 66 |
+
# pitch[periodicity < 0.1] = 0
|
| 67 |
pitch = pitch.squeeze(0)
|
| 68 |
return pitch
|
| 69 |
|
|
|
|
| 196 |
with gr.Tabs():
|
| 197 |
with gr.TabItem("sovits 5.0"):
|
| 198 |
gr.Markdown(value="""
|
| 199 |
+
基于开源数据:Multi-Singer
|
| 200 |
|
| 201 |
https://github.com/Multi-Singer/Multi-Singer.github.io
|
| 202 |
+
|
| 203 |
+
最终版本:
|
| 204 |
|
| 205 |
+
1,mix_encoder: whisper + hubert, 解决跨语言转换和纯对白语音训练
|
| 206 |
+
|
| 207 |
+
2,解决F0瑕疵
|
| 208 |
|
|
|
|
| 209 |
""")
|
| 210 |
sid = gr.Dropdown(label="音色", choices=[
|
| 211 |
"22", "33", "47", "51"], value="47")
|