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 - 3.13 (Python 3.14+ not yet supported - dependencies numba/llvmlite don't support 3.14. Use Python 3.13 or earlier)
  • ~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.2.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.2-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: voicemd_gui-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c1b6e0a67bc3d7fb6b29a00c97c88e6f1fe417d58efd309249f55bb23caf0ce0
MD5 9f7f284c23737f4ea657ee0a3bc21aee
BLAKE2b-256 86190cd85ee03bdeb7d0c6ba6d52ad7e654910db265eb94eea30941f28c47adc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: voicemd_gui-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 38.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e74cbedd51253234a60fa743e598065aaccba650555456233b09d1f20ee9b42f
MD5 a40d7ce93a78d6dd2b0867774ea93163
BLAKE2b-256 200a6b9b53e381b87767a6c8df5011556e0b9a46c250c94adfba1e244922d0a2

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