Commit Graph
25 Commits
Author SHA1 Message Date
effd79b465 Tts302 (#170)
* feat: add 302.ai TTS integration (#166)

* update:将tts_302ai tts合并到doubao tts

---------

Co-authored-by: Junsen <66542771+Huang-junsen@users.noreply.github.com>
Co-authored-by: hrz <1710360675@qq.com>
2025-03-02 16:59:25 +08:00
b94842c312 Fix long audio bug (#158)
* update:异步生成音频

* update:优化LLM断句

---------

Co-authored-by: hrz <1710360675@qq.com>
2025-03-01 01:54:55 +08:00
87cb0b484d Music play (#142)
* Update util.py解决返回元组报错 (#103)

解决返回元组报错

* 增加播放本地音乐功能 (#105)

* Please enter the commit message for your changes. Lines starting
 with '#' will be ignored, and an empty message aborts the commit.

 On branch Music-playback
 Your branch is up to date with 'origin/Music-playback'.

 Changes to be committed:
	modified:   core/handle/audioHandle.py
	new file:   "music/\346\234\210\344\272\256\344\273\243\350\241\250\346\210\221\347\232\204\345\277\203_\351\202\223\344\270\275\345\220\233.mp3"
	new file:   "music/\350\270\217\345\261\261\346\262\263.mp3"

* Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit.

On branch Music-playback
Your branch is up to date with 'origin/Music-playback'.

Changes to be committed:
	modified:   config.yaml
	modified:   core/connection.py
	modified:   core/handle/abortHandle.py
	modified:   core/handle/audioHandle.py
	new file:   core/handle/musicHandler.py
	modified:   core/handle/textHandle.py
	modified:   core/websocket_server.py
	new file:   "music/\344\270\200\345\277\265\345\215\203\345\271\264_\345\233\275\351\243\216\347\211\210.mp3"
	new file:   "music/\344\270\255\347\247\213\346\234\210.mp3"
	deleted:    "music/\346\234\210\344\272\256\344\273\243\350\241\250\346\210\221\347\232\204\345\277\203_\351\202\223\344\270\275\345\220\233.mp3"
	deleted:    "music/\350\270\217\345\261\261\346\262\263.mp3"

* 增加播放本地音乐功能

* 增加播放本地音乐功能

* 让音乐配置变的优雅

On branch Music-playback
Your branch is up to date with 'origin/Music-playback'.

Changes to be committed:
	modified:   config.yaml
	modified:   core/handle/musicHandler.py
	renamed:    "music/\344\270\200\345\277\265\345\215\203\345\271\264_\345\233\275\351\243\216\347\211\210.mp3" -> "music/mp3/\344\270\200\345\277\265\345\215\203\345\271\264_\345\233\275\351\243\216\347\211\210.mp3"
	renamed:    "music/\344\270\255\347\247\213\346\234\210.mp3" -> "music/mp3/\344\270\255\347\247\213\346\234\210.mp3"
	renamed:    "music/\345\273\211\346\263\242\350\200\201\347\237\243\357\274\214\345\260\232\350\203\275\351\245\255\345\220\246.mp3" -> "music/mp3/\345\273\211\346\263\242\350\200\201\347\237\243\357\274\214\345\260\232\350\203\275\351\245\255\345\220\246.mp3"
	new file:   music/music_config.yaml

---------

Co-authored-by: 欣南科技 <huangrongzhuang@xin-nan.com>

* update:优化代码

* update:流控调试

* update:优化音乐播放

* update:优化音乐配置初始化

---------

Co-authored-by: linqingping <linqingping@users.noreply.github.com>
Co-authored-by: Chris <119588753+Chris-websketch@users.noreply.github.com>
Co-authored-by: hrz <1710360675@qq.com>
2025-02-26 01:33:05 +08:00
94a90c4124 Iot (#129)
* 2025-2-17-iot配置消息处理, 以及控制iot命令发送 (#40)

* update:优化

* update:增加视频教程

* update:iot兼容性又问题,撤回

* fixed:iot boolean 参数接收bug

---------

Co-authored-by: Jiao Haoyang <108573524+XuSenfeng@users.noreply.github.com>
Co-authored-by: hrz <1710360675@qq.com>
2025-02-24 22:04:48 +08:00
9e76869c36 Iot (#126)
* 2025-2-17-iot配置消息处理, 以及控制iot命令发送 (#40)

* update:优化

---------

Co-authored-by: Jiao Haoyang <108573524+XuSenfeng@users.noreply.github.com>
Co-authored-by: hrz <1710360675@qq.com>
2025-02-24 18:06:13 +08:00
玄凤科技andGitHub 174ab7fdb7 本地模型不重复创建,共用一个 (#51)
* 本地模型不重复创建,共用一个

* 更新web端页面发布版本
2025-02-19 01:00:25 +08:00
kalicyh cfcb6cb97d 🐞 fix(log): bug 2025-02-18 00:45:54 +08:00
kalicyh 2acee60d73 🦄 refactor(log): colorful log 2025-02-18 00:07:19 +08:00
玄凤科技 aa2d323951 增加通过认证码绑定设备和管理账户的功能,需要开启私有设备配置
增加登录用户鉴权
2025-02-17 15:53:48 +08:00
hrz 6b1488bc3a update:完成2分钟不说话,自动断开连接的功能 2025-02-16 20:42:55 +08:00
欣南科技andGitHub 069ddabe10 Merge branch 'main' into main 2025-02-15 21:13:50 +08:00
玄凤科技 bef55e852c 增加设备私有配置,每台设备可以配置不同的模型和提示词
增加后台管理功能,可以通过后台调整设备私有配置信息
2025-02-15 19:48:46 +08:00
hrz 2baba43946 update:完成在web端,修改提示词功能 2025-02-15 19:38:32 +08:00
hrz c8c75df890 update:优化docker-compose 2025-02-14 23:09:12 +08:00
欣南科技andGitHub e732adaec2 Merge branch 'main' into main 2025-02-14 10:45:15 +08:00
玄凤科技 c60850ef3d 增加容错判断
解决ollama提供模型回答分割后最后一句为空,speak不能停止的问题
2025-02-14 10:29:37 +08:00
TOM88812 c358774e97 feat: 添加WS TOKEN 认证功能 2025-02-13 17:06:48 +08:00
hrz ba7f592aa6 Merge pull request #8 from tangyiyong/fix-audiohandler 2025-02-11 12:48:39 +08:00
hrz d4413b6607 Merge:fix audiohandler 2025-02-11 12:14:10 +08:00
tangyiyong 0ded207fb1 fix audiohandler 2025-02-11 11:44:56 +08:00
hrz ba2cc8c447 update:加入测试速度功能 2025-02-09 16:44:57 +08:00
hrz 62752a3fc7 update:降低一点停顿时长 2025-02-05 09:06:52 +08:00
hrz 22506019a9 add:支持手动按住说话 2025-02-04 13:57:05 +08:00
hrz 93acdb5861 add:实时打断对话 2025-02-04 12:20:10 +08:00
hrz db34e7c16e update:初始化上传 2025-02-02 23:01:14 +08:00