CoolFace
Apppublic

Themozhi/tamil-dysarthric-voice-conversion

sourceHugging Facemitupdated 10mo agoView on Hugging Face
0likes
App README

๐ŸŽ™๏ธ 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

  1. 1.Upload your dysarthric speech audio file (WAV, MP3, FLAC, etc.)
  2. 2.Click the "Enhance Speech" button
  3. 3.Wait for processing (10-30 seconds depending on audio length)
  4. 4.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:

  1. 1.HuBERT (Hidden Unit BERT): Extracts discrete speech units from the input audio
  2. 2.Acoustic Model: Generates target mel-spectrogram from speech units
  3. 3.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.