This repository was archived by the owner on Mar 23, 2026. It is now read-only.
feat(tts): 实现跨平台语音生成和播放功能#422
Merged
laoshuikaixue merged 17 commits intoFeb 11, 2025
Merged
Conversation
laoshuikaixue
commented
Feb 11, 2025
Member
- 新增 generate_speech.py 文件,实现多引擎 TTS 功能
- 添加 play_audio.py 文件,用于播放音频文件
- 在 main.py 中集成 TTS 功能,提供接口供插件调用
- 更新 requirements.txt,补全依赖
- 重构部分代码,优化语音生成和播放流程
- 清理代码,增强可读性
- 修复了更新插件小组件时可能出现的 NoneType 错误 - 优化了代码结构,补全未导入的库
- 移除了未使用的导入模块 - 调整了天气数据更新逻辑,增加了全局变量 weather_data_temp - 优化了代码结构,提高了代码可读性和维护性
- 新增 generate_speech.py 文件,实现多引擎 TTS 功能 - 添加 play_audio.py 文件,用于播放音频文件 - 在 main.py 中集成 TTS 功能,提供接口供插件调用 - 更新 requirements.txt,补全依赖 - 重构部分代码,优化语音生成和播放流程 - 清理代码,增强可读性
- 为与 TTSEngine 类有关的方法和关键函数添加了详细的文档注释
pizeroLOL
pushed a commit
to pizeroLOL/Class-Widgets
that referenced
this pull request
Aug 10, 2025
* feat(tts): 实现跨平台语音生成和播放功能 - 新增 generate_speech.py 文件,实现多引擎 TTS 功能 - 添加 play_audio.py 文件,用于播放音频文件 - 在 main.py 中集成 TTS 功能,提供接口供插件调用 - 更新 requirements.txt,补全依赖 - 重构部分代码,优化语音生成和播放流程 - 清理代码,增强可读性 * refactor: 优化代码格式 清理代码 * refactor: 添加函数文档注释 - 为与 TTSEngine 类有关的方法和关键函数添加了详细的文档注释
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.