jarvis-speech-stt
Reusable speech-to-text and translation helpers extracted from the Jarvis project.
Install
python -m pip install jarvis-speech-stt
For local development, install the built wheel from dist/ instead. The
distribution name is jarvis-speech-stt; the Python import name is
jarvis_speech_stt.
Usage
from jarvis_speech_stt import speech_to_text_python
text = speech_to_text_python()
print(text)
The function adjusts for ambient noise, listens through the default microphone,
uses SpeechRecognition's Google recognizer, translates the result to English,
and returns the translated string or None when recognition fails.
Requirements and limitations
- Python 3.10 or newer
- A working microphone and PyAudio-compatible audio input
- Network access for Google speech recognition and mtranslate
- Browser/Selenium automation is not part of this reusable package
Microphone permissions and native audio drivers are system-dependent. The package catches expected microphone, timeout, recognition, and service errors, but it cannot grant operating-system permissions.
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 jarvis_speech_stt-0.1.0.tar.gz.
File metadata
- Download URL: jarvis_speech_stt-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2261a31a0f6899f84a2e2d0f25d1761180ed00e9378b7bec40dbb2c218c14c2
|
|
| MD5 |
ae94ced0fa255a8e738344adadee215e
|
|
| BLAKE2b-256 |
58cc52384d1d54eee6d002bfaed0b4df9712c46eb29b43349545a5aa3ffaf777
|
File details
Details for the file jarvis_speech_stt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jarvis_speech_stt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97047961dc356f21cefabf684e63f8da42d2a8860bc87024638f450f6bbf4cdc
|
|
| MD5 |
e12e14dff2c5736202137d14d5ec91ed
|
|
| BLAKE2b-256 |
03de06abb3ce2b85ac6b77477f4aa0f1dce6836895648d739b82a7ffd33ccf4d
|