Skip to content

berkpolatCE/BZTyping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

BZTyping Speech-to-Text Application

BZTyping is a powerful, customizable speech-to-text application that converts your spoken words into typed text in real-time. It features a sleek, modern user interface with a minimalist mode option and utilizes the state-of-the-art Whisper large language model for accurate transcription.

Features

  • Real-time Dictation: Speak naturally and have your words transcribed instantly
  • Modern UI: Sleek, transparent interface that stays out of your way
  • Minimalist Mode: Collapse to a tiny bar when you need more screen space
  • Global Hotkeys: Control recording without switching applications
  • Language Support: Transcribe in multiple languages
  • Customizable Settings: Configure hotkeys and preferences to your liking
  • GPU Acceleration: Utilizes CUDA for faster transcription when available

Requirements

  • Windows 10/11
  • Python 3.9 or higher
  • NVIDIA GPU with CUDA support (recommended for best performance)
  • Administrator privileges (required for global hotkey functionality)
  • Microphone

Installation

  1. Clone or download this repository
  2. Run the install_dependencies.bat script to install all required packages
  3. Ensure ffmpeg is installed and accessible in your system's PATH

If the automated installation fails, you may need to manually install some components:

  • PyAudio often requires manual installation on Windows
  • CUDA drivers may need separate installation for GPU acceleration

Usage

Starting the Application

Run BZTyping.py with administrator privileges:

python BZTyping.py

Default Hotkeys

  • Ctrl+Alt: Start/stop recording
  • Ctrl+Shift: Show/hide the UI

User Interface

  • Status Indicator: Shows whether the application is recording, processing, or ready
  • Timer: Displays recording duration
  • Last Transcription: Shows the most recent transcribed text
  • Minimize Button: Switch to minimalist mode
  • Settings Button: Configure application preferences
  • Close Button: Exit the application

Settings

Access the settings dialog to customize:

  • Hotkeys: Change the key combinations for recording and UI toggling
  • Language: Select from multiple languages for transcription

How It Works

BZTyping uses the Whisper large language model to convert speech to text. When you press the recording hotkey:

  1. Your microphone input is captured
  2. The audio is processed by the Whisper model
  3. The transcribed text is typed at your current cursor position
  4. The text also appears in the application interface

Troubleshooting

  • No Transcription: Ensure your microphone is properly connected and selected as the default input device
  • Slow Performance: Consider using a smaller model size or ensure GPU acceleration is working
  • Hotkeys Not Working: Run the application with administrator privileges
  • PyAudio Installation Issues: Follow the manual installation steps provided when the error occurs

License

This project is open source and available under the MIT License.

Acknowledgements

About

BZTyping is a speech-to-text application.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors