Skip to main content

Audio effects classifiers for voice

Project description

Voice Of Chunk

What do we want? Clean vocal acapellas! When do we want them? Now!

Cascaded Sorting

Flowchart

This repository hosts several models that are meant to cascade results. The output of the final classifier is audio ready to be used in training a Singing Voice Conversion (SVC) model.

State of Research

  • Voice vs. Non-voice classifier
  • Reverb vs. Dry classifier
  • Polyphony vs. Monophony classifier
  • Multi-voice unison vs. Single-voice unison

Installation

This package was developed using Python 3.11.4, and thus that version of python is recommended.

Clone this repository and make it the current directory in the terminal.

The, open a new virtual environment and install the requirements.

pip install -r requirements.txt

Model Weights

Download model weights from my dropbox.

cd voicequalityclassifier
wget https://www.dropbox.com/scl/fi/w6yqkhzpq4l8wpw53zrjk/weights.zip?rlkey=3ju9ofcn93wdklzc3sr8nlezz&dl=1 -O weights.zip
unzip weights.zip
cd ..

Usage

For some example audio download a few files with this command:

wget https://www.dropbox.com/scl/fi/sclv9z73xobw2hbagjqob/audio.zip?rlkey=3cq04ds7ymt5q7d4v1dzkfgib&dl=1 -O audio.zip
unzip audio.zip

The voicequalityclassifier is a package that can also be run as a module. To run the whole classification scheme, run

./env/bin/python voicequalityclassifier/main.py --input path/to/audio.wav

In the console, you will see the classification results. If you see:

for file path/to/audio.mp3 detected nonvoice

This means that no voice was detected (i.e. the source is an instrumental stem or stereo mix). If you see:

for file path/to/audio.mp3 detected voice
for file path/to/audio.mp3 detected reverb

This means there was reverb detected on the track.

Finally, if you see:

for file path/to/audio.mp3 detected voice
for file path/to/audio.mp3 detected dry

Then we're in business and we have a dry acapella file.

for file path/to/audio.mp3 detected voice
for file path/to/audio.mp3 detected reverb

This means there was reverb detected on the track.

Finally, if you see:

for file path/to/audio.mp3 detected voice
for file path/to/audio.mp3 detected dry

Then we're in business and we have a dry acapella file.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

vchunk-1.0.4-py3-none-any.whl (9.7 MB view details)

Uploaded Python 3

File details

Details for the file vchunk-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: vchunk-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 9.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for vchunk-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 47e0561887db7c02435206fcc45a0b30ebf9f07d5ce10969e478f736c534ca9c
MD5 c584472e3a88e385ede4d28dbbc41e27
BLAKE2b-256 dfd56f9d37f684119afa626ae17e4b24294f364bf9de2546356c4cf764101656

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