Taler is an AI-powered speech coaching application designed to help users improve their public speaking skills. It provides real-time feedback on pacing, filler words, and overall delivery, acting as a personal speech tutor.
- Real-time Speech Analysis: Analyzes your speech as you talk.
- Pace Monitoring: Calculates Words Per Minute (WPM) to ensure you are speaking at an optimal speed (120-150 WPM).
- Filler Word Detection: Identifies and counts common filler words (e.g., "um", "uh", "like", "you know").
- AI Coaching Persona: Receive feedback from "Gandalf the Grey", offering wisdom and guidance on your speech in a unique and engaging way.
- Transcription: Converts your speech to text using advanced speech-to-text models.
- ElevenLabs Integration: Leverages ElevenLabs for high-quality transcription and agent interactions.
- Local Processing: Utilizes local models (MLX Whisper, Qwen) for privacy and low latency (in the local agent version).
local_agent/: Contains the local version of the speech tutor using MLX Whisper and a local LLM.local_agent.py: The main script for the local real-time speech coach.
eleven_test.py: A script demonstrating integration with the ElevenLabs API for transcription and agent feedback.voice_samples/: Directory for storing audio samples for testing.
- Python 3.12+
uv(recommended for dependency management) orpip- ElevenLabs API Key (for
eleven_test.py) - Mac with Apple Silicon (for
local_agentusing MLX)
-
Clone the repository:
git clone <repository-url> cd taler
-
Install dependencies:
uv sync # or pip install -r requirements.txt
Run the local real-time coach:
python local_agent/local_agent.pySpeak into your microphone, and the agent will analyze your speech and provide audio feedback.
To test the ElevenLabs integration:
-
Set your API key:
export ELEVENLABS_API_KEY="your_api_key_here"
-
Run the test script:
python eleven_test.py
- Python: Core programming language.
- ElevenLabs API: For cloud-based speech-to-text and conversational agents.
- MLX / MLX Whisper: For efficient local machine learning on Apple Silicon.
- SoundDevice: For audio recording and playback.
- Mutagen: For audio file metadata analysis.
[Add License Information Here]