Simple TTS & STT wrapper with multiple engines
Project description
PyroSpeak 🗣️
PyroSpeak is a simple and flexible Python library for Text-to-Speech (TTS) and Speech-to-Text (STT), designed to work with multiple engines, both online and offline, using a clean and beginner-friendly API.
It aims to provide a single, unified interface for common speech tasks without forcing you to deal with low-level audio details.
Features
- Multiple TTS engines (online & offline)
- Multiple STT engines (FastSTT, Whisper)
- Minimal and intuitive API
- Suitable for experiments, bots, and small AI projects
- Works well with real-time audio
Quick Example
from pyrospeak import speak, record
# Text to Speech
speak("Hello world!", engine="gtts")
# Speech to Text
text = record(engine="whisper")
print(text)
Supported Engines
Text-to-Speech (TTS)
- gTTS (Google Text-to-Speech)
- pyttsx3 (offline)
- ElevenLabs (API-based)
Speech-to-Text (STT)
- FastSTT
- Whisper (OpenAI)
Configuration
Most functions are configurable through keyword arguments such as:
- engine
- language
- model size / device
- time limits
Refer to the source code for full parameter lists.
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrospeak-0.0.1.tar.gz.
File metadata
- Download URL: pyrospeak-0.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e75e59ecf2097febbc7bffccedd1a059da8afb185c3ce4cc92b9aa51d021819
|
|
| MD5 |
eaf7ff63df66438029cf681f5bf8619c
|
|
| BLAKE2b-256 |
c77208be03534691a937752e1f4db85ce5cffcdf71ac38b9f29adffb16a65719
|
File details
Details for the file pyrospeak-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pyrospeak-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
feccc9e071d49dd29ddfdff533000b306a377f8b40f4751a54c3ba9c9ec77ce7
|
|
| MD5 |
2cdef3633b917540def5a89de4627d8a
|
|
| BLAKE2b-256 |
51e8b3758dfe31cc0df8654be716782701cd19e7d3da4cf4d8275bd550af013c
|