Skip to main content

Tactigon Speech Socket

The tactigon team

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

Metadata

Release files for tactigon-speech-socket 5.5.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tactigon-speech-socket 5.5.0.2
File Size Uploaded
tactigon_speech_socket-5.5.0.2.tar.gz 198.5 kB Details

Release files / tactigon_speech_socket-5.5.0.2.tar.gz

Download URL tactigon_speech_socket-5.5.0.2.tar.gz
Size 198.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a1e1fe8fcc2c7dd8ae7f7035c378b7f9f046ee0469568ae27d9fdff921cce7c0
BLAKE2b-256 checksum
How to use checksums
47185f5c63beaf45859d000e170ea86fbc069f18f2f5adc134a28ba555624f98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release history Release notifications | RSS feed

This release

5.5.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page