
gittech. site
for different kinds of informations and explorations.
Automatic teleprompter that scrolls with rate of speech
Published at
2 days ago
Main Article
Auto Teleprompter
A web-based teleprompter application that tracks speech using the microphone and highlights words as they are being read. Built with Python, Flask, and AssemblyAI for real-time speech recognition.
Note: Server needs to run locally and have access to the microphone.
Features
- Real-time speech recognition
- Automatic scrolling of text
- Easy-to-use web interface
- Responsive design
Prerequisites
- Python 3.8 or higher
- pip (Python package manager)
- An AssemblyAI API key
- Running the server locally
Setup
- Clone the repository:
git clone <repository-url>
cd teleprompter
- Install the required dependencies:
pip install -r requirements.txt
- Create a
.env
file in the project root and add your AssemblyAI API key:
ASSEMBLYAI_API_KEY=your_api_key_here
SECRET_KEY=your-secret-key-here
- Run the application:
python app.py
- Open your web browser and navigate to
http://localhost:8000
Usage
- Enter or paste your script into the text area
- Click "Start" to begin
- Start reading the text
- The application will highlight words as you speak them
- Click "Stop" when you're finished
Note
Make sure your microphone is properly connected and you have granted the necessary permissions in your web browser for microphone access.