Audio Transcription, Slide Integration & LaTeX Notes Generation
Transform your audio recordings into structured, professional LaTeX notes instantly.
AudioTTo is a powerful Python application designed to streamline the process of creating study notes. It takes audio recordings (lectures, meetings, etc.) and optionally PDF slides, then uses advanced AI to generate comprehensive LaTeX documents.
- 🎙️ Local Transcription: Uses
Faster-Whisperfor fast, accurate, and private audio transcription. - ✂️ Efficient Processing: Automatically chunks audio for parallel processing, maximizing CPU usage.
- 🧠 AI-Powered Notes: Leverages Google Gemini AI to synthesize transcripts into structured LaTeX notes.
- 🖼️ Visual Integration: Extracts images from PDF slides and embeds them directly into the notes where relevant.
- 🚀 Modern UI: Includes a user-friendly web interface for easy drag-and-drop operation.
Before you begin, ensure you have the following:
- Python 3.9 or higher.
- A LaTeX Distribution installed and added to your PATH (required for PDF compilation):
- A Google Gemini API Key. You can get one from Google AI Studio.
If you downloaded the standalone executable (.exe):
- Download the latest version from the Releases page.
- Prerequisites: You still need a working LaTeX distribution installed (see Prerequisites above).
- Run: Just double-click
AudioTTo.exe. No Python installation required!
-
Clone the repository (or download usage files):
git clone https://github.com/Manumarzo/AudioTTo.git cd AudioTTo -
Install dependencies:
pip install -r requirements.txt
AudioTTo provides both a modern Web GUI and a classic CLI.
The easiest way to use AudioTTo.
- Launch the application:
python gui_app.py
- Interact: A window will open automatically (or go to
http://localhost:8000). - Configure: Click the Settings (⚙️) button to enter your Gemini API Key.
- Process:
- Drag & drop your Audio file.
- (Optional) Drag & drop your Slides (PDF).
- Click Start Processing.
For automation or headless environments.
Set your API Key first:
Create a file named .env in the root directory of the project. Open it with a text editor and add your API Key:
env GEMINI_API_KEY=your_actual_api_key_here
Run the script:
# Basic transcription
python AudioTTo.py lecture.wav
# With slides
python AudioTTo.py lecture.wav --slides slides.pdf
# With specific slide pages
python AudioTTo.py lecture.wav --slides slides.pdf --pages 1-15All generated files are organized in the output/ directory:
output/
└── [Audio_Filename]/
├── [Audio_Filename]_trascrizione.txt # Raw text transcript
├── [Audio_Filename]_appunti.tex # Generated LaTeX source
└── [Audio_Filename]_appunti.pdf # Final compiled PDF
🧹 Intermediate files (chunks, noisy audio, logs) are automatically cleaned up.
Contributions are welcome! Feel free to open issues or submit pull requests to improve AudioTTo.
If you find AudioTTo useful and want to support its development, consider making a small donation! Your support helps keep the project alive and improving.
This project is licensed under the MIT License.
Developed with ❤️ by Manumarzo


