Skip to content

Releases: gexgd0419/NaturalVoiceSAPIAdapter

v0.2.3

19 Nov 03:42
Compare
Choose a tag to compare

Fixes

  • Installation failure on older Windows versions (e.g. Windows 7) saying "Some files could not be found"
  • "Invalid SSML" error when there are space characters after a custom XML tag

See also release notes for v0.2.1.

修复问题

  • 在旧版 Windows 系统(例如 Windows 7)上安装失败,提示“找不到某些文件”
  • 自定义 XML 标签后面有空格字符时,出现 Invalid SSML 错误

另见 v0.2.1 的发布说明。

v0.2.2

13 Nov 02:16
Compare
Choose a tag to compare

Fixes

  • Voice list JSON files cannot be downloaded correctly
  • Extra <prosody> SSML tags will cause the Edge voice server to reject the SSML. The Edge voices allow no more than two <prosody> tags, so this is fixed by discarding excessive prosody changes (changes in volume, rate, pitch, etc.).

See also release notes for v0.2.1.

修复问题

  • 语音列表 JSON 文件不能正确下载
  • 多余的 <prosody> 标签会使 Edge 语音服务器拒绝该 SSML。Edge 语音不允许 <prosody> 标签超过两个,所以解决方法是丢弃多出的 prosody 更改(如音量、语速、音调等)。

另见 v0.2.1 的发布说明。

Release v0.2.1

12 Nov 05:57
Compare
Choose a tag to compare

New features

  • Adds support for pure ARM64 processes. (Older versions support x86, x64, and ARM64EC processes)
    When you click "Install 64-bit" on an ARM64 system, both x64 and ARM64 versions will be installed.
  • Adds support for PAC proxy when the system is configured to "automatically detect proxy settings" or "use automatic configuration scripts". (Older versions support manually configured proxy server)
    Note that only HTTP proxies without authentication are supported.

Fixes

  • Words separated by XML tags are "glued together" without spaces when using Edge voices (mentioned in #8)
  • Edge voices cannot be accessed directly with a Chinese mainland IP address. Fixed by generating the Sec-MS-GEC token. See this issue comment in edge-tts for the algorithm.
  • The installer's UI language is not English when running under Wine in a language other than Chinese or English (mentioned in #19)
  • Custom XML tags not recognized by SAPI are not handled correctly, causing "Invalid SSML" errors like in this issue.
  • Other bug fixes that improve stability when using online voices.

Other changes

  • The installer's main dialog now saves your changes immediately (to address the "changes lost" issue mentioned in #20 and #23). Other dialogs still require you to click "OK" to save the changes, or "Cancel" to discard the changes.

新功能

  • 新增对纯 ARM64 进程的支持。(旧版本支持 x86,x64,以及 ARM64EC 进程)
    在 ARM64 系统上选择“安装 64 位”时,x64 和 ARM64 版本均会被安装。
  • 新增对 PAC 代理的支持,前提是系统设置为“自动检测代理设置”或“使用自动设置脚本”。(旧版本支持手动配置的代理服务器)
    注意仅支持无需认证的 HTTP 代理。

修复问题

  • 使用 Edge 语音时,用 XML 标签分隔的单词会“黏在一起”,没有空格分隔(#8 中提及)
  • Edge 语音无法使用中国大陆 IP 地址直接访问。使用生成 Sec-MS-GEC 的方法解决了问题。算法参见 edge-tts 中的这条 issue 评论
  • 在 Wine 中使用时,环境语言不是中文或英文时,安装程序的界面语言不是英文(#19 中提及)
  • SAPI 不识别的自定义 XML 标签没有被正确处理,导致出现 Invalid SSML 问题,例如这个 issue
  • 其他改进了在线语音稳定性的 bug 修复。

其他更改

  • 安装程序的主界面现在会立即保存更改(以解决 #20#23 中提到的“更改丢失”问题)。其他对话框依然需要点击“确定”保存更改,或点击“取消”放弃更改。

Release v0.2

16 Aug 08:17
Compare
Choose a tag to compare

New features

  • Supports enumerating Azure voices; adds UI for entering Azure API key and region (#9)
  • Local Narrator voices are now supported on Windows 7; see README or this for how to download and use the voices on Windows 7
  • Support for customized included language list for online voices (#7)
  • Logging system that saves error messages into log files (%LOCALAPPDATA%\NaturalVoiceSAPIAdapter\log.#.txt) for troubleshooting

Fixes

  • With Microsoft Edge online voices, NVDA's continuous reading stops after the first sentence (#8)
  • websocketpp logs output to stdout (#14)
  • Events out of sync for client apps using C# System.Speech (#16)

Other changes

  • Voices with invalid locale IDs are no longer included by default, including Javanese and Sundanese voices. This might prevent crashing some apps when choosing to use all supported languages. If those languages are still needed, check LanguageForUnknownLocales in Configurable registry values.

新功能

  • 支持列举 Azure 语音列表;添加输入 Azure 密钥和区域的界面 (#9)
  • 本地讲述人自然语音现已支持 Windows 7;参考自述文件这里以了解如何在 Windows 7 上下载和使用这些语音
  • 支持自定义在线语音包含的语言的列表 (#7)
  • 日志系统,将错误信息保存在日志文件中 (%LOCALAPPDATA%\NaturalVoiceSAPIAdapter\log.#.txt)

修复问题

  • 使用 Edge 在线语音时,NVDA 的连续朗读会停留在第一句话 (#8)
  • websocketpp 的日志输出到了 stdout (#14)
  • 使用 C# System.Speech 的客户端程序收到的事件时间不同步 (#16)

其他更改

  • 默认不再包含 locale ID 无效的语言,例如爪哇语和巽他语。这可能会减少一些选择了“所有支持的语言”导致客户端崩溃的情况。如果仍然需要使用这些语言,可以参考可配置注册表值中的 LanguageForUnknownLocales 的说明。

Release v0.1

10 May 14:47
a8d4791
Compare
Choose a tag to compare
Update README.md