Classes

Class Description
IntentClassifier Implements voice control using intent classification.
KeywordSpotter Implements voice control using basic keyword spotting.
MediaElementTranscriber Transcribes the output of an <audio> or <video> HTML element.
MicrophoneTranscriber Accesses the user’s microphone and transcribes their speech.
MoonshineModel Implements speech-to-text inferences with Moonshine models.
StreamTranscriber Implements real-time transcription of an audio stream sourced from a WebAudio-compliant MediaStream object.
VoiceController An interface for invoking voice-controlled actions on a page using speech transcribed by a Transcriber.

Interfaces

Interface Description
TranscriberCallbacks Callbacks are invoked at different phases of the lifecycle as audio is transcribed. You can control the behavior of the application in response to model loading, starting of transcription, stopping of transcription, and updates to the transcription of the audio stream.

Variables

Variable Description
Settings Global settings for Moonshine.js.