Sketch-thru-Plan Speech Connector
    Preparing search index...

    Implements speech recognition services using Azure Speech-to-text *

    Implements

    Index

    Constructors

    • Constructs an Azure Speech recognizer object

      Parameters

      • speechSubscriptionKey: string

        Azure speech subscription key

      • serviceRegion: string

        Azure speech service region

      • OptionalendPoint: string

        Custom model endpoint, if any

      • OptionalaudioConfig: AudioConfig

        Optional audio config. Set to default mike input if not provided

      • OptionalrecoLanguage: string

        Optional language to be recognized. Default is 'en-US'

      Returns AzureSpeechRecognizer

    Properties

    audioConfig: AudioConfig
    isListening: boolean
    onError: ((error: Error) => void) | undefined

    Optional event handler invoked when there is a recognition error

    onRecognized: ((result: ISpeechRecoResult | null) => void) | undefined

    Event handler invoked whenever the recognizer has a complete phrase to return

    onRecognizing: ((snippet: string) => void) | undefined

    Optional event handler invoked whenever the recognizer has a partial recognition available

    phraseList: string[] | undefined
    recognizer: SpeechRecognizer | undefined
    recoStart: Date
    serviceRegion: string
    speechConfig: SpeechConfig
    speechSubscriptionKey: string

    Methods

    • Start the recognition process. Intermediate results are returned via the onRecognizing event; final results (phrase) are returned via the onRecognized event The expectation is that speech recognition is started at the beginning of a sketch, and stopped sometime after the end of the sketch

      Returns void