Skip to main content

Modern offline voice analysis application

Project description

VoiceMD - Voice Analysis Application

A modern, offline voice analysis tool that predicts speaker characteristics based on acoustic features.

Features

  • 🎨 Modern Interface - Clean, intuitive GUI with modern design
  • 🔄 Multi-Model Support - Switch between different trained models in real-time
  • 💾 Fully Offline - No internet required after initial setup
  • 🎤 Multiple Formats - Supports WAV, MP3, OGG, FLAC, M4A
  • 📦 Easy Installation - Simple pip install, models auto-download

Installation

Requirements

  • Python 3.8+ (Recommended: 3.8-3.13. Python 3.14+ may have dependency compatibility issues with numba/llvmlite - use 3.13 if installation fails)
  • ~500 MB disk space (including models and dependencies)
  • Internet connection for first-time model download only

Quick Install (Recommended - No Git Required!)

pip install voicemd-gui

Then run:

voicemd-gui

Models (~4.4 MB) will automatically download from GitHub Releases on first launch.

Alternative Install (From GitHub)

If you want the latest development version:

pip install git+https://github.com/Honey181/voicemd.git

Manual Install (From Source)

  1. Download the repository as ZIP from GitHub
  2. Extract it
  3. Open terminal in the extracted folder
  4. Run: pip install .
  5. Run: voicemd-gui

Manual Installation

If you prefer to run from source:

# Clone the repository
git clone https://github.com/Honey181/voicemd.git
cd voicemd

# Install dependencies
pip install -r requirements_app.txt

# Run the app
python app_gui.py

Models will auto-download on first run, or manually run:

python download_models.py

Usage

  1. Select a model from the dropdown (Small Dataset or CommonVoice)
  2. Browse for an audio file (WAV, MP3, OGG, FLAC, M4A)
  3. Click "Analyze Voice"
  4. View results instantly

Uninstallation

Remove the Application

pip uninstall voicemd-gui -y

Remove Downloaded Models (Optional)

The model files (~4.4 MB) are stored separately and will remain after uninstalling. To completely remove them:

Windows:

Remove-Item -Recurse -Force "$env:USERPROFILE\.voicemd"

macOS/Linux:

rm -rf ~/.voicemd

Location of models:

  • When installed via pip: ~/.voicemd/models/ (or %USERPROFILE%\.voicemd\models\ on Windows)
  • When running from source: Project root directory

Multi-Model Support

VoiceMD includes two trained models that can be switched at runtime:

  • Small Dataset Model - Faster, good for general use
  • CommonVoice Model - More robust, handles diverse accents

Switch between models using the dropdown in the app. No restart required!

Troubleshooting

Models Won't Download

Download manually:

  1. Go to https://github.com/Honey181/voicemd/releases
  2. Download both .pt model files
  3. Place them in the project root directory

Or use the download script:

python download_models.py

Import Errors

Update dependencies:

pip install --upgrade -r requirements_app.txt

Audio Loading Issues

The app uses soundfile/librosa (no FFmpeg required). If you still get errors:

  • Windows: choco install ffmpeg
  • macOS: brew install ffmpeg
  • Linux: sudo apt install ffmpeg

LLVM Version Compatibility (Linux)

If you get an error like llvmlite only officially supports LLVM 20 during installation:

Option 1 - Use Conda (Recommended):

conda create -n voicemd python=3.10
conda activate voicemd
conda install -c conda-forge llvmlite numba
pip install git+https://github.com/Honey181/voicemd.git

Option 2 - Install specific LLVM version:

# Ubuntu/Debian
sudo apt install llvm-14 llvm-14-dev
export LLVM_CONFIG=/usr/bin/llvm-config-14
pip install git+https://github.com/Honey181/voicemd.git

Option 3 - Use older Python:

# Python 3.9 or 3.10 have better llvmlite compatibility
python3.10 -m pip install git+https://github.com/Honey181/voicemd.git

Technical Details

  • Framework: PyTorch for model inference
  • GUI: Tkinter for cross-platform interface
  • Audio Processing: librosa, soundfile, torchaudio
  • No FFmpeg Required: Uses soundfile/librosa for audio loading

License

MIT License - Copyright (c) 2020, Jeremy Pinto

See LICENSE file for full details.

Credits

Original Project: VoiceMD by @jerpint (Jeremy Pinto)

Enhanced by: @Honey181 - Modern UI and easy installation

This project builds upon the excellent work of the original VoiceMD team. All credit for the model architecture, training pipeline, and core functionality goes to them.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

voicemd_gui-1.0.0.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

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

voicemd_gui-1.0.0-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

Details for the file voicemd_gui-1.0.0.tar.gz.

File metadata

  • Download URL: voicemd_gui-1.0.0.tar.gz
  • Upload date:
  • Size: 33.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for voicemd_gui-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dc249da6fef9ce435376fff773ba8fd2bd27e2af42146d339a81ffd8c23a4364
MD5 67255b2949aa83f286a4da91d9c73b49
BLAKE2b-256 839b2b0453f8b8ac1b226b230572eb47b7d763faf0fe975e3e3c5b08fe2f8890

See more details on using hashes here.

File details

Details for the file voicemd_gui-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: voicemd_gui-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 37.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for voicemd_gui-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2cbbbd45870a55e86ded47225309f3e603ffaa0e29ead0c5d9149e658b93243
MD5 9f3ab18c53aa9fd591bd751046d0de93
BLAKE2b-256 92c03cc021223e20281240cc677795dfbce10a7ab01124222c893ea1f7808958

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