Skip to main content

A lightweight audio transcription tool using speech recognition.

Project description

🎙️ Voxcribe

Voxcribe is a Python package for transcribing audio files into text using speech recognition. It splits audio into manageable chunks, processes them in parallel, and combines the results into a single transcription.


✨ Features

  • 🔊 Supports Multiple Formats: Works with MP3, WAV, and other audio formats.
  • Chunk-based Processing: Splits large audio files into smaller chunks for efficient processing.
  • 🖥️ Parallel Processing: Utilizes all available CPU cores for faster transcription.
  • 📊 Optional Progress Bar: Displays a progress bar during processing, which can be disabled if needed.

📦 Installation

Install Voxcribe using pip:

pip install voxcribe

🛠️ Prerequisites

Ensure the following dependencies are installed:

  • FFmpeg (required by pydub for handling MP3 and other formats).

To install FFmpeg:

  • Linux: Use your package manager (e.g., sudo apt install ffmpeg).
  • MacOS: Use Homebrew (brew install ffmpeg).
  • Windows: Download and install it from FFmpeg's official website.

🚀 Usage

Example Code

from voxcribe import Voxcribe

# Initialize the transcriber
transcriber = Voxcribe(chunk_duration=30, show_progress=True)

# Transcribe an audio file
result = transcriber.transcribe("audio.mp3")

# Print the transcription
print("Transcription:")
print(result)

🔧 Parameters

  • chunk_duration (default: 30): Duration of each audio chunk in seconds.
  • show_progress (default: True): Whether to display a progress bar during transcription.

📋 Requirements

  • 🐍 Python 3.6 or later
  • 📜 Dependencies:
    • speechrecognition
    • pydub
    • tqdm

Install dependencies using pip:

pip install -r requirements.txt

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.


💡 Acknowledgments


📬 Contact

For issues or suggestions, feel free to:

  • Open an issue on the GitHub repository
  • 📧 Email me at vedant.barhate27@example.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voxcribe-1.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voxcribe-1.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file voxcribe-1.0.0.tar.gz.

File metadata

  • Download URL: voxcribe-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for voxcribe-1.0.0.tar.gz
Algorithm Hash digest
SHA256 90e07a749baeb7e6533516bb6c6385108d5a0edd671e7c4158b9ef1af4be5979
MD5 693d9d7fc1a1c53fb49d1f959494f52d
BLAKE2b-256 067d1df598fd4330ed71d4fd94c55bd099e02d3c4086dc028f017e78359d5645

See more details on using hashes here.

File details

Details for the file voxcribe-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: voxcribe-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for voxcribe-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cdde3093d04ea0239682a085ad150fabc7c8275c712901d57d815b22af82598
MD5 7b2a62d80ba4898c1bcdf621a1c72c42
BLAKE2b-256 24ef751e85b0bfbc2edd73fa3198066d5b6584bf6c5acf06d6446d8d23daea0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page