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
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.2.tar.gz.
File metadata
- Download URL: tactigon_speech_socket-5.5.0.2.tar.gz
- Upload date:
- Size: 198.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1e1fe8fcc2c7dd8ae7f7035c378b7f9f046ee0469568ae27d9fdff921cce7c0
|
|
| MD5 |
fcf09b929b7529012a928252ab7de378
|
|
| BLAKE2b-256 |
47185f5c63beaf45859d000e170ea86fbc069f18f2f5adc134a28ba555624f98
|