@moonshine-ai/moonshine-js
    Preparing search index...

    Class KeywordSpotter

    Implements voice control using basic keyword spotting.

    Keyword spotting is most useful in cases where we need to match EXACT user command phrases to actions with no ambiguity, e.g., matching the exact words "scroll up" to a scroll up action.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    commandHandlers: CommandHandlers
    onError: (error: any) => any
    onFrame: (probs: any, frame: any, ema: any) => any
    onModelLoaded: () => any
    onModelLoadStarted: () => any
    onPermissionsRequested: () => any
    onSpeechEnd: () => any
    onSpeechStart: () => any
    onTranscribeStarted: () => any
    onTranscribeStopped: () => any
    onTranscriptionCommitted: (text: string) => any

    Methods

    • Parameters

      • text: string

      Returns void