huakunyang / SummerTTS

SummerTTS 是一个基于C++的独立编译的中文和英文语音合成项目,可以本地运行不需要网络,而且没有额外的依赖,一键编译完成即可用于中文和英文的语音合成。SummerTTS is a standalone Chinese and English speech synthesis(TTS) project that has almost no dependency and could be easily used for Chinese TTS with just one key build out
405 stars 71 forks source link

window 10 编译问题和解决方案 #6

Open Moonmore opened 1 year ago

Moonmore commented 1 year ago

编译环境

  1. 操作系统: window 10
  2. 编译环境:mingw
  3. g++版本:8.1.0

编译问题:

error: 'M_PI' was not declared in this scope

解决方案:

CMakeLists.txt top level 加上 add_definitions(-D_USE_MATH_DEFINES)

编译命令:

cd SummerTTS/build cmake -G "MinGW Makefiles" .. make -j 8

参考方案:

https://github.com/orgs/robotology/discussions/81

huakunyang commented 1 year ago

非常感谢,等我空了的时候,会在Windows上测试你的方案

huakunyang commented 1 year ago

Rtf大概0.2,在我的笔记本电脑上测的,10代i5移动版。减小了模型,使用了MB-isft方案

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: Moonmore @.> 发送时间: 2023年5月30日 17:08 收件人: huakunyang/SummerTTS @.> 抄送: Subscribed @.***> 主题: Re: [huakunyang/SummerTTS] window 10 编译问题和解决方案 (Issue #6)

顺便请教一下, 新更新的 small model 的 rtf 是多少? 是怎么优化的呢?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Moonmore commented 1 year ago

请问下后续有开放模型的训练和优化的计划吗 =-=

huakunyang commented 1 year ago

请问下后续有开放模型的训练和优化的计划吗 =-=

有这个计划,陆续来吧

943fansi commented 1 year ago

@Moonmore Could you run the newest version on Windows platform?

Moonmore commented 1 year ago

@Moonmore Could you run the newest version on Windows platform? I compiled the previous version, haven't tried the latest version yet.

aiaimimi0920 commented 10 months ago

@Moonmore @943fansi I think I have solved the issue of Windows compilation. You can try my method: https://github.com/huakunyang/SummerTTS/issues/35