Interface SpeechSessionConfig

interface SpeechSessionConfig {
    mode?: SpeechSessionMode;
    sampleRate?: number;
    frameDurationMs?: number;
    audioFileName?: string;
    autoTranscribeOnSpeechEnd?: boolean;
    sttOptions?: SpeechTranscriptionOptions;
    ttsOptions?: SpeechSynthesisOptions;
    vad?: AdaptiveVADConfig;
    silence?: SilenceDetectorConfig;
    wakeWord?: {
        keyword?: string;
    };
}

Hierarchy (view full)

Properties

sampleRate?: number
frameDurationMs?: number
audioFileName?: string
autoTranscribeOnSpeechEnd?: boolean
wakeWord?: {
    keyword?: string;
}

Type declaration

  • Optional keyword?: string