Commit Graph
27 Commits
Author SHA1 Message Date
bc531652e9 音乐播放功能添加p3文件格式支持,添加文件目录(含子目录)扫描和文件列表刷新功能 (#157)
Co-authored-by: hrz <1710360675@qq.com>
2025-03-01 17:57:43 +08:00
b486599ab8 update:ffmpeg依赖检查 (#162)
Co-authored-by: hrz <1710360675@qq.com>
2025-03-01 17:09:01 +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
c3b0347155 Iot (#128)
* 2025-2-17-iot配置消息处理, 以及控制iot命令发送 (#40)

* update:优化

* update:增加视频教程

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

---------

Co-authored-by: Jiao Haoyang <108573524+XuSenfeng@users.noreply.github.com>
Co-authored-by: hrz <1710360675@qq.com>
2025-02-24 21:20:42 +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
6c3fbd7a8f Doubao asr (#117)
* 添加豆包在线 ASR (#82)
---------
Co-authored-by: 胡垚 <qsct9501@163.com>
2025-02-23 14:38:21 +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
hrz 8dd051944a update:输出地址提示 2025-02-16 21:48:25 +08:00
hrz 6b1488bc3a update:完成2分钟不说话,自动断开连接的功能 2025-02-16 20:42:55 +08:00
hrz e6381c6176 update:去掉重复方法 2025-02-15 11:48:02 +08:00
hrz 7686e5f1a9 Merge branch 'main' into develop
# Conflicts:
#	core/connection.py
#	core/handle/audioHandle.py
#	core/utils/util.py
2025-02-14 23:17:52 +08:00
hrz c8c75df890 update:优化docker-compose 2025-02-14 23:09:12 +08:00
玄凤科技 4d35a5ae6a 增加关闭聊天的功能
明确的退出命令可以直接关闭聊天
LLM检测到的结束聊天意图则在LLM回复后关闭聊天
2025-02-14 16:35:02 +08:00
hrz fb69e7fc01 fixed:设置sentence_start成延迟发送,要不然跟语音无法对应 2025-02-13 21:22:36 +08:00
hrz b267b3230a update:优化stt发送顺序 2025-02-11 13:51:44 +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 b1798c9dad fixed:消息重发bug 2025-02-06 12:30:26 +08:00
hrz 912cc9c48b update:优化说明 2025-02-04 18:38:15 +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