| Package | Description |
|---|---|
| io.spokestack.spokestack |
The Spokestack package contains the core classes that implement the speech
recognition pipeline.
|
| io.spokestack.spokestack.tts |
This package contains a client for the Spokestack TTS service.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
SpeechOutput.audioReceived(AudioResponse response)
Notifies the component that audio is available for immediate playback or
caching at the specified location.
|
| Modifier and Type | Method and Description |
|---|---|
protected AudioResponse |
TTSCallback.createAudioResponse(SpokestackSynthesisResponse response,
String requestId)
Use data in the HTTP response to create an
AudioResponse. |
AudioResponse |
TTSEvent.getTtsResponse()
Get the response data containing synthesized audio.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpokestackTTSOutput.audioReceived(AudioResponse response) |
abstract void |
TTSCallback.onSynthesisResponse(AudioResponse response)
Delivers an audio response, including the URL where synthesized speech
can be streamed.
|
void |
TTSEvent.setTtsResponse(AudioResponse response)
Attach response data containing the location of synthesized audio.
|
Copyright © 2021. All rights reserved.