gittech. site

for different kinds of informations and explorations.

Automatic teleprompter that scrolls with rate of speech

Published at
2 days ago

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

  1. Clone the repository:
git clone <repository-url>
cd teleprompter
  1. Install the required dependencies:
pip install -r requirements.txt
  1. 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
  1. Run the application:
python app.py
  1. Open your web browser and navigate to http://localhost:8000

Usage

  1. Enter or paste your script into the text area
  2. Click "Start" to begin
  3. Start reading the text
  4. The application will highlight words as you speak them
  5. 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.