echogarden
Version:
An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.
10 lines (9 loc) • 518 B
TypeScript
import { SynthesisVoice } from '../api/API.js';
import { RawAudio } from '../audio/AudioUtilities.js';
import { Timeline } from '../utilities/Timeline.js';
export declare function synthesize(text: string, voiceName: string, rate?: number, useSpeechPlatform?: boolean): Promise<{
rawAudio: RawAudio;
timeline: Timeline;
}>;
export declare function getVoiceList(useSpeechPlatform?: boolean): Promise<SynthesisVoice[]>;
export declare function AssertSAPIAvailable(testForSpeechPlatform?: boolean): Promise<void>;