echogarden
Version:
An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.
13 lines (12 loc) • 474 B
TypeScript
import { RawAudio } from '../audio/AudioUtilities.js';
import { TimelineEntry } from '../utilities/Timeline.js';
export declare function recognize(rawAudio: RawAudio, languageCode: string | undefined, options: DeepgramSTTOptions): Promise<{
transcript: string;
timeline: TimelineEntry[];
}>;
export interface DeepgramSTTOptions {
apiKey?: string;
model?: string;
punctuate?: boolean;
}
export declare const defaultDeepgramSTTOptions: DeepgramSTTOptions;