Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 621 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 621 Bytes

实时语音克隆 - 中文/普通话

mockingbird

原项目地址:MockingBird

使用示例

from pathlib import Path
from mockingbirdforuse import MockingBird

mockingbird = MockingBird()
mockingbird.load_model(
    Path("saved_models/encoder.pt"),
    Path("saved_models/hifigan.pt"),
)
mockingbird.set_synthesizer(Path("azusa.pt"))
output = mockingbird.synthesize("主播不是你的电梓播放器", Path("record.wav"))  # output type: BytesIO