OpenVoiceChanger

VC/VC++ 2025-08-11

实时语音更换器

预览

英语| 한국어| 日本语

实时语音更换器是基于Web的应用程序,用于实时语音修改。该项目由React前端,Node.js后端服务器和基于Python的语音处理服务器组成。

关键功能

  • 实时语音输入和修改
  • 支持各种语音修改模型(RVC,ONNX)
  • 通过Web界面轻松控制
  • 服务器状态监视

技术堆栈

  • 前端:反应
  • 后端:Node.js,Express
  • 语音处理服务器:Python,fastapi
  • 实时通信:Websocket
  • 语音处理:ONNX运行时,Pytorch

安装

  1. 克隆存储库:

    OpenVoiceChanger">
     git clone https://gi*thub**.com/sioaeko/OpenVoiceChanger.git
    cd OpenVoiceChanger
    
  2. 安装依赖项:

     chmod +x install_dependencies.sh
    ./install_dependencies.sh
    

    该脚本为客户,服务器和Python环境安装了所有依赖关系。

运行应用程序

  1. 启动Node.js服务器:

     cd server
    npm start
    
  2. 启动Python服务器:

     cd python_server
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    python python_server.py
    
  3. 启动客户端:

     cd client
    npm start
    
  4. 访问http://l**oc*alhost:3000

用法

  1. 单击Web界面的“服务器控制”部分中的“开始”按钮以启动服务器。
  2. 在“模型设置”部分中选择所需的模型和设置。
  3. 在“设备设置”部分中选择音频输入和输出设备。
  4. 单击“记录”按钮开始语音输入。
  5. 修改后的语音将实时输出。

项目结构

OpenVoiceChanger/ │ ├── client/ # React frontend │ ├── src/ │ │ ├── components/ │ │ │ └── VoiceChangerDesktop.js │ │ ├── App.js │ │ └── index.js │ └── package.json │ ├── server/ # Node.js backend │ ├── models/ │ ├── rvc-model.js │ ├── onnx-model.js │ ├── index.js │ └── package.json │ ├── python_server/ # Python voice processing server │ ├── python_server.py │ └── requirements.txt │ ├── install_dependencies.sh └── README.md">
 OpenVoiceChanger /
│
├── client/                 # React frontend
│   ├── src/
│   │   ├── components/
│   │   │   └── VoiceChangerDesktop.js
│   │   ├── App.js
│   │   └── index.js
│   └── package.json
│
├── server/                 # Node.js backend
│   ├── models/
│   ├── rvc-model.js
│   ├── onnx-model.js
│   ├── index.js
│   └── package.json
│
├── python_server/          # Python voice processing server
│   ├── python_server.py
│   └── requirements.txt
│
├── install_dependencies.sh
└── README.md

执照

该项目已根据MIT许可获得许可。有关更多详细信息,请参阅许可证文件。

谢谢

  • ONNX运行时
  • Ngrok
  • 火炬
  • Websocket
  • numpy
  • 乌维康
  • Fastapi
下载源码

通过命令行克隆项目:

git clone https://github.com/sioaeko/OpenVoiceChanger.git