Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google voice Support #385

Merged
merged 8 commits into from
Mar 8, 2023
Merged

Google voice Support #385

merged 8 commits into from
Mar 8, 2023

Conversation

wanggang1987
Copy link
Contributor

Add spupport for voice message, using google voice SpeechRecognition service

@wanggang1987
Copy link
Contributor Author

pyttsx3的文字转语音有点问题,在max和linux默认都没有正常工作。
科大讯飞的API接口比较繁琐,计划对接百度开放平台

channel/wechat/wechat_channel.py Outdated Show resolved Hide resolved
channel/wechat/wechat_channel.py Outdated Show resolved Hide resolved
@zhayujie
Copy link
Owner

zhayujie commented Mar 7, 2023

感谢PR, 不错的语音支持!

如果用openai的Whisper接口, 效果如何呢

@zhayujie
Copy link
Owner

zhayujie commented Mar 8, 2023

测试了一下,语音可以保存,但是后面就卡住了
image

@wanggang1987
Copy link
Contributor Author

正在测试Whisper的接口,有点奇怪的问题

@zhayujie
Copy link
Owner

zhayujie commented Mar 8, 2023

正在测试Whisper的接口,有点奇怪的问题

SpeechRecognition 的接口需要代理嘛

@wanggang1987
Copy link
Contributor Author

字符编码可能不正确,解析出来的text文本发送到openai的接口没有回复

@wanggang1987
Copy link
Contributor Author

正在测试Whisper的接口,有点奇怪的问题

SpeechRecognition 的接口需要代理嘛

需要的

@wanggang1987
Copy link
Contributor Author

测试了一下,语音可以保存,但是后面就卡住了 image

fix

@wanggang1987
Copy link
Contributor Author

感谢PR, 不错的语音支持!

如果用openai的Whisper接口, 效果如何呢

改为默认使用whisper

@zhayujie zhayujie merged commit 99b4700 into zhayujie:master Mar 8, 2023
@HiJackXD
Copy link

HiJackXD commented Mar 9, 2023

@gwailee
Copy link

gwailee commented Mar 9, 2023

一对一测试可以,不错!不过楼主怎么才能用群聊唤起语音呢?

@wanggang1987
Copy link
Contributor Author

微信号被封了,没法测试呀

@wanggang1987
Copy link
Contributor Author

用itchat协议一直很稳定,调试下wechaty直接封号了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants