Skip to main content

A real-time speech-to-text transcription tool using machine learning (NumPy), PyQt6, and faster-whisper.

Reason this release was yanked:

I incorrecly built this like an idiot, my bad! First time!

Project description

PyVoice

PyVoice is a real-time speech-to-text transcription tool using machine learning. It provides a graphical user interface for recording audio and transcribing it into text.

Features

  • Real-time audio recording
  • Live audio waveform visualization
  • Speech-to-text transcription using the Whisper model
  • User-friendly GUI built with PyQt6

Requirements

The script automatically checks for and installs the following required packages:

  • numpy
  • sounddevice
  • librosa
  • faster_whisper
  • PyQt6
  • pyqtgraph

Installation

  1. Ensure you have Python installed on your system.
  2. Download the PyVoice script file.
  3. Run the script. It will automatically check for and install required packages.

Usage

  1. Run the PyVoice script to launch the application.
  2. Click "Start Recording" to begin audio capture.
  3. Speak into your microphone.
  4. Click "Stop Recording" when you're done speaking.
  5. PyVoice will process the audio and display the transcription.

Key Components

  • AudioRecorder: Handles real-time audio recording.
  • TranscriptionWorker: Processes recorded audio and generates transcriptions.
  • MainWindow: Manages the graphical user interface and coordinates recording and transcription processes.

Notes

  • PyVoice uses the "small" Whisper model for transcription.
  • Audio is processed at a 16kHz sample rate.
  • The waveform display updates in real-time during recording.

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

pyvoice-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

pyvoice-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file pyvoice-0.1.0.tar.gz.

File metadata

  • Download URL: pyvoice-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for pyvoice-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2cc11f4ee0c2030c7e2a5917b8c598deb6cf3b88652d0db6f6d52802bb994338
MD5 fe47410fa6938d0cbd14006cc9d6af2e
BLAKE2b-256 8a9c03851e3cac818668fb446d74c1effe5b795fcc2428c02e797819395505df

See more details on using hashes here.

File details

Details for the file pyvoice-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyvoice-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for pyvoice-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c84c2a6740dfb8626b65dae82694d7c90b5806bb3aa42721d1efeb48f9d25ae4
MD5 641bcf7b74ba67c5536732f54fd68a9c
BLAKE2b-256 ece23b59a3507030448c8653ad98efc32f97b977a27f225ca3b0c649add123e8

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