Tactigon Speech Socket perform stt over a audio stream sent by socket.
Project description
Tactigon Speech Socket
This package enables the wearable device Tactigon Skin to stream audio to a stt middleware over a socket connection
Prerequisites
In order to use the Tactigon Gear SDK the following prerequisites needs to be observed:
- Python version: following versions has been used and tested. It is STRONGLY recommended to use these ones depending on platform.
- Linux: 3.8.x
Installing
Install and update using pip:
pip install tactigon-speech-socket
A Simple Example
import setup_path
import logging
# from tactigon_socket import SocketClient
from tactigon_speech_socket import TSkinSpeech
from tactigon_speech_socket.models.audio import VoiceConfig
logging.basicConfig(
filename="receive.log",
level=logging.DEBUG
)
def main():
voice_config = VoiceConfig(
"deepspeech-0.9.3-models.tflite",
"my_Scorer_file.scorer"
)
try:
ts = TSkinSpeech("localhost", 50006, voice_config)
ts.start()
except KeyboardInterrupt:
pass
finally:
ts.join()
if __name__ == "__main__":
main()
Links
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
File details
Details for the file tactigon_speech_socket-5.5.0.1.tar.gz.
File metadata
- Download URL: tactigon_speech_socket-5.5.0.1.tar.gz
- Upload date:
- Size: 198.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21d4c5bbd8992b56893c06aeb5ce0956d4bd41eb4ec14dcba0189bf1b5850a49
|
|
| MD5 |
7b8c8ad1e1cbccfb85d5ef25b13b98e3
|
|
| BLAKE2b-256 |
697b6dafc864c2c1c7d479c81693ad696c219b9a0833a72d08f7af7a4390f03e
|