ttsprobe

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command ttsprobe checks a speech-socket service against the incremental synthesis acceptance test of the streaming plan, through the Go client the runtime uses (adapters/speechsocket).

For each sentence it opens a context, appends the first half, waits, and records whether audio for the unfinished prefix arrived before the rest was sent (held-back suffix). It then appends the rest, ends the context, and records time to first audio, total audio, and the real-time factor. Finally it cancels a context mid-audio and counts audio delivered after the cancel, which must be zero.

go run ./tools/ttsprobe -url ws://127.0.0.1:9125/v1/tts/stream -out result.json

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL