Skip to main content

Voice changer for desktop

Project description

AVoc: Local Realtime Voice Changer for Desktop

A speech-to-speech converter that uses AI models locally to convert microphone audio to a different voice in near-realtime.

Suitable for gaming and streaming.

Quick Start

Drag your voice model files into the window.

screenshot

Features

  • Import of the voice models provided by the user
  • Switching between voices
  • Pitch adjustments
  • Hotkeys and popup notifications for the ease of use in the background
  • Pass Through

Platforms

All desktops.

Linux is the priority.

Goal

Make voice changing more developer-friendly by creating

  • a voice conversion library
  • a simple voice changer desktop application
  • a command-line voice changer program

Open Source and Free for modification.

Installation

For Arch-based Linux Distributions - from AUR

No cloning of this repo needed.

yay -S avoc

or for Manjaro

pamac build avoc

Launch from the menu or by running:

gio launch /usr/share/applications/AVoc.desktop

For other Linuxes

Requires pyenv, update-desktop-database and some build tools to be installed.

After that, install the voice changer into a local directory:

git clone https://github.com/develOseven/avoc
cd avoc
pyenv local 3.12.3
python -m venv .venv
source .venv/bin/activate
CMAKE_ARGS="-DCMAKE_POLICY_VERSION_MINIMUM=3.5" pip install . -r requirements-3.12.3.txt
mkdir -p ~/.local/share/applications/
cp -t ~/.local/share/applications/ src/avoc/AVoc.desktop
echo "Path=$PWD" >> ~/.local/share/applications/AVoc.desktop
mkdir -p ~/.local/share/icons/hicolor/scalable/apps/
cp -t ~/.local/share/icons/hicolor/scalable/apps/ src/avoc/AVoc.svg
update-desktop-database

Launch from the menu or by running:

gio launch ~/.local/share/applications/AVoc.desktop

To uninstall:

rm ~/.local/share/applications/AVoc.desktop ~/.local/share/icons/hicolor/scalable/apps/AVoc.svg

(Optional) Virtual Microphone

The voice changer will latch to the actual default microphone, so a virtual microphone isn't needed.

But there are cases when you would want to configure your operating system to provide a virtual microphone:

  • When you absolutely don't want to be heard without the voice changer when something crashes and reverts to the direct microphone input.
  • When you want to use the AVoc's QtMultimedia backend instead of its PipeWire backend (by uninstalling the pipewire-filtertools package from the Python environment).
  • When you're not on the Linux operating system.

(Optional) EasyEffects

It's fine to use with EasyEffects: put "Noise Reduction" and "Autogain" as the input effects there.

Development

Python Environment

Assign a compatible Python version to this directory using pyenv:

pyenv local 3.12.3

Create an environment using venv:

python -m venv .venv

or through VSCode with ~/.pyenv/shims/python as the Python interpreter.

Install the dependencies:

source .venv/bin/activate
pip install -r requirements-3.12.3.txt

Run:

python -m main

(Optional) Get sources of the voice conversion library and install it in developer mode:

(cd .. && git clone https://github.com/develOseven/voiceconversion)
source .venv/bin/activate
pip uninstall voiceconversion
pip install -e ../voiceconversion --config-settings editable_mode=strict

It allows to work on the voice conversion library.

(Optional) Add to the "configurations" in the VSCode's launch.json:

{
    "name": "Python Debugger: Module",
    "type": "debugpy",
    "request": "launch",
    "module": "main",
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

avoc-0.1.0.tar.gz (380.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

avoc-0.1.0-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file avoc-0.1.0.tar.gz.

File metadata

  • Download URL: avoc-0.1.0.tar.gz
  • Upload date:
  • Size: 380.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for avoc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0796fdc77924de53fe21198b67fcfd0156168e84be1c390dcec1c7a9d1e7dcae
MD5 408c1c5ee339a454e7e9bf08c3e0415c
BLAKE2b-256 8d797e6efb3aa663f6f84c324981290a49374056084eb9f11f48966f87bf83bb

See more details on using hashes here.

File details

Details for the file avoc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: avoc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for avoc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e7a5be2528dc511de9cde28fffc52bbc0aba94e15bd6c80e3a0b521269797c4
MD5 f0c9e6850f2849f9012787e9cf8be8d1
BLAKE2b-256 09da71023e7aedb0780733e518b55784712af3a8e18e8f58a7fbf706ac8b56c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page