Skip to content

Conversation

@JamesG-Speechmatics
Copy link
Contributor

@JamesG-Speechmatics JamesG-Speechmatics commented May 19, 2025

Adds the --end-of-utterance-silence-trigger flag to the CLI, to control the parameter for detecting end of utterances (periods of silence)

"transcription_config": {
    "conversation_config": { 
        "end_of_utterance_silence_trigger": 1.8
    }
}

For json output mode, the EndOfUtterance message will be printed. For text output mode, the text [EndOfUtterance] will be printed.

$ speechmatics transcribe --end-of-utterance-silence-trigger 1.8 --enable-partials --ssl-mode none --url ws://localhost:9000/ ~/long_silences.wav
This
is
an
audio
file
with
some
quite.
[EndOfUtterance]
Long
silences.
[EndOfUtterance]

Copy link
Contributor

@giorgosHadji giorgosHadji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can we add the usual cli test as well please?

@giorgosHadji
Copy link
Contributor

current master is on 3.0.5 already btw

@JamesG-Speechmatics JamesG-Speechmatics merged commit 6be8ea9 into master May 20, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants