这是什么?
- 盘口源码搭建在飞鸟VRChat 2中实现微投语音到语音翻译的语音机器人教程
 
版权所有,请勿转载
系统
- ASR,翻译:googletrans
 
- googletrans · PyPI
 
- 语音合成:gtts
 
- gTTS · PyPI
 
- 声音管道
 
- 应用程序 -> 扬声器 -> dialog.py -> 麦克风 -> 应用程序
 - 直接循环也存在..(应用程序 -> 扬声器 -> 麦克风 -> 应用程序)
 
- (待定)在 GitHub 中发布脚本
 
- 需要清理代码和编写文档
 
条件
- Ubuntu 18.04.5 LTS
 - 语音聊天应用程序(例如 VRChat)
 
设置
$ sudo apt install portaudio19-dev pavucontrol python-xlib scrot
$ git clone https://github.com/Lunran/sts.git
$ cd sts
$ python3 -m venv venv
$ . venv/bin/activate
$ pip install --upgrade pip
$ pip install -r requirements.txt
用法
- Ubuntu 18.04.5 LTS
 - 语音聊天应用程序(例如 VRChat)
 - 运行 VRChat
 
- 打开“设置”、“音量”
 - 静音“UI/Menu”、“World”和“Avatars”
 
- 运行脚本
 
- 详见“$ python dialog.py -h”
 










