| Package | Description |
|---|---|
| io.spokestack.spokestack |
The Spokestack package contains the core classes that implement the speech
recognition pipeline.
|
| io.spokestack.spokestack.android |
This package contains the android-specific dependencies used in
audio/speech processing.
|
| io.spokestack.spokestack.asr |
This package contains classes for interacting with speech recognition
services provided by Spokestack.
|
| io.spokestack.spokestack.google |
This package contains google-specific components used for speech
recognition.
|
| io.spokestack.spokestack.microsoft |
This package contains microsoft-specific components used for speech
recognition.
|
| io.spokestack.spokestack.wakeword |
This package contains speech pipeline components used for wakeword
detection.
|
| io.spokestack.spokestack.webrtc |
This package wraps the webrtc native modules for Voice Activity Detection
(VAD) and Automatic Gain Control (AGC).
|
| Modifier and Type | Method and Description |
|---|---|
SpeechContext |
SpeechContext.addOnSpeechEventListener(OnSpeechEventListener listener)
attaches a speech listener.
|
SpeechContext |
SpeechContext.attachBuffer(Deque<ByteBuffer> value)
attaches a frame buffer to the context.
|
SpeechContext |
SpeechContext.detachBuffer()
removes the attached frame buffer.
|
SpeechContext |
SpeechContext.dispatch(SpeechContext.Event event)
dispatches a speech event.
|
SpeechContext |
SpeechPipeline.getContext() |
SpeechContext |
SpeechContext.removeOnSpeechEventListener(OnSpeechEventListener listener)
detaches a speech listener.
|
SpeechContext |
SpeechContext.reset()
resets the context to the default state.
|
SpeechContext |
SpeechContext.setActive(boolean value)
activates speech recognition.
|
SpeechContext |
SpeechContext.setConfidence(double value)
updates the current speech confidence level.
|
SpeechContext |
SpeechContext.setError(Throwable value)
raises an error with the speech context.
|
SpeechContext |
SpeechContext.setSpeech(boolean value)
sets speech detected indicator.
|
SpeechContext |
SpeechContext.setTranscript(String value)
updates the current speech transcript.
|
SpeechContext |
SpeechContext.trace(EventTracer.Level level,
String format,
Object... params)
raises a trace event.
|
SpeechContext |
SpeechContext.traceDebug(String format,
Object... params)
traces a debug level message.
|
SpeechContext |
SpeechContext.traceInfo(String format,
Object... params)
traces an informational level message.
|
SpeechContext |
SpeechContext.tracePerf(String format,
Object... params)
traces a performance level message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpokestackAdapter.onEvent(SpeechContext.Event event,
SpeechContext context)
Receive events from the speech pipeline.
|
void |
Spokestack.onEvent(SpeechContext.Event event,
SpeechContext context) |
void |
OnSpeechEventListener.onEvent(SpeechContext.Event event,
SpeechContext context)
receives a speech event.
|
void |
SpeechProcessor.process(SpeechContext context,
ByteBuffer frame)
processes the current speech frame.
|
void |
ActivationTimeout.process(SpeechContext context,
ByteBuffer buffer) |
void |
SpeechSampler.process(SpeechContext context,
ByteBuffer frame)
processes a frame of audio.
|
void |
SpeechInput.read(SpeechContext context,
ByteBuffer frame)
reads a set of samples into a frame buffer.
|
void |
SpokestackAdapter.speechEvent(SpeechContext.Event event,
SpeechContext context)
Receive events from the speech pipeline.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AndroidSpeechRecognizer.process(SpeechContext context,
ByteBuffer frame) |
void |
MicrophoneInput.read(SpeechContext context,
ByteBuffer frame)
reads a frame from the microphone.
|
void |
PreASRMicrophoneInput.read(SpeechContext context,
ByteBuffer frame)
Reads a frame from the microphone if the pipeline is inactive.
|
void |
NoInput.read(SpeechContext context,
ByteBuffer frame)
simulates reading an audio frame.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpokestackCloudRecognizer.process(SpeechContext speechContext,
ByteBuffer frame)
processes a frame of audio.
|
void |
KeywordRecognizer.process(SpeechContext context,
ByteBuffer buffer)
processes a frame of audio.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GoogleSpeechRecognizer.process(SpeechContext context,
ByteBuffer frame)
processes a frame of audio.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AzureSpeechRecognizer.process(SpeechContext speechContext,
ByteBuffer frame)
processes a frame of audio.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WakewordTrigger.process(SpeechContext context,
ByteBuffer buffer)
processes a frame of audio.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AcousticNoiseSuppressor.process(SpeechContext context,
ByteBuffer frame)
processes a frame of audio.
|
void |
VoiceActivityDetector.process(SpeechContext context,
ByteBuffer frame)
processes a frame of audio.
|
void |
AutomaticGainControl.process(SpeechContext context,
ByteBuffer frame)
processes a frame of audio.
|
void |
VoiceActivityTrigger.process(SpeechContext context,
ByteBuffer frame)
processes a frame of audio.
|
Copyright © 2021. All rights reserved.