Themozhi/tamil-dysarthric-voice-conversion
๐๏ธ Tamil Dysarthric Voice Conversion
Transform dysarthric (unclear) Tamil speech into clear, intelligible audio using state-of-the-art deep learning models.
๐ Features
- End-to-End Neural Conversion: Uses HuBERT, Acoustic Model, and HiFi-GAN Vocoder
- Dataset Support: Automatically handles pre-computed healthy versions for known speakers (FSI, FVP, MPA, MPR, MRA, MPK, MAK)
- External File Processing: Full neural pipeline for any audio file
- High-Quality Output: Generates natural-sounding enhanced speech
- Easy to Use: Simple upload and process interface
- Tamil Language Optimized: Specifically trained for Tamil dysarthric speech patterns
๐ How to Use
- Upload your dysarthric speech audio file (WAV, MP3, FLAC, etc.)
- Click the "Enhance Speech" button
- Wait for processing (10-30 seconds depending on audio length)
- Listen to the enhanced output and download if needed
File Types Supported:
Dataset Files (e.g., FSI123.wav, MPA45.wav):
- Automatically uses pre-computed healthy version if available in dataset
- Instant processing (no neural network inference needed)
- Speakers: FSI, FVP, MPA, MPR, MRA, MPK, MAK
External Files (any other .wav, .mp3, etc.):
- Processes through full neural pipeline
- Takes 10-30 seconds (first run may take longer for model loading)
- Works with any Tamil dysarthric speech
๐ง Technical Details
Model Pipeline
The system uses a three-stage neural pipeline:
- HuBERT (Hidden Unit BERT): Extracts discrete speech units from the input audio
- Acoustic Model: Generates target mel-spectrogram from speech units
- HiFi-GAN Vocoder: Synthesizes high-quality audio waveform from spectrogram
Processing Flow
Dysarthric Audio โ HuBERT โ Speech Units โ Acoustic Model โ Mel-Spectrogram โ HiFi-GAN โ Enhanced Audio๐ Model Information
- HuBERT Model: Themozhi/hubert
- Acoustic Model: Themozhi/acoustic-model
- Vocoder: Themozhi/hifigan
- Sample Rate: 16kHz
- Architecture: Transformer-based sequence-to-sequence with neural vocoder
๐ฏ Use Cases
- Assistive Technology: Help individuals with dysarthria communicate more clearly
- Research: Study speech disorders and rehabilitation techniques
- Medical Applications: Support speech therapy and monitoring
- Accessibility: Improve communication accessibility for people with speech impairments
โ๏ธ System Requirements
For GPU Processing (Recommended)
- Hardware: NVIDIA GPU with CUDA support
- Processing Time: ~10-20 seconds per audio file
- Best For: Real-time or frequent use
For CPU Processing
- Hardware: Any modern CPU
- Processing Time: ~30-60 seconds per audio file
- Best For: Occasional use
๐ Notes
- First Run: Initial model loading may take 1-2 minutes
- Audio Format: Supports WAV, MP3, FLAC, M4A and other common formats
- Audio Length: Works best with 5-30 second audio clips
- Language: Optimized for Tamil language, but may work with other languages
๐ฌ Research Background
This project is based on research in dysarthric speech conversion using self-supervised learning models. Dysarthria is a motor speech disorder that affects the ability to produce clear speech due to muscle weakness or difficulty controlling speech muscles.
๐ค Contributing
Contributions, issues, and feature requests are welcome!
โ๏ธ License
MIT License - See LICENSE file for details
๐ Acknowledgments
- HuBERT model architecture from Facebook AI Research
- HiFi-GAN vocoder from NVIDIA
- Gradio for the web interface framework
- Hugging Face for hosting infrastructure
Note: This is a research prototype. For clinical or production use, please consult with speech-language pathologists and conduct thorough validation.
