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 did it a second time oh god

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.1.tar.gz (3.1 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.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyvoice-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 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.1.tar.gz
Algorithm Hash digest
SHA256 85160579f23ea5cdfb016edf0caf2ecf709b48a1f87b55e1e8a085667daee9af
MD5 50863406b94654030eee680dae9da7a6
BLAKE2b-256 cd05e1280f3f9b472d7c1d907eac57fc8dd626d2dc018419222beee04805d9fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyvoice-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0941aab6a6b3d8867aaffb141e9f94e9f8d17a08a533ba1a01a1214f5ab07a97
MD5 23873003a91486416b5211dcb2f60187
BLAKE2b-256 0354fff9d678990d5304f6024fa5355ef5ecb89706278febf25461b40c03ea04

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