UNPKG

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) 563 B
import { Timeline } from '../utilities/Timeline.js'; export declare function synthesizeLongText(text: string, languageCode?: string, tld?: string, sentenceEndPause?: number, segmentEndPause?: number): Promise<{ rawAudio: { audioChannels: Float32Array<ArrayBufferLike>[]; sampleRate: number; }; timeline: Timeline; }>; export declare function synthesizeShortText(text: string, languageCode?: string, tld?: string): Promise<Uint8Array<ArrayBufferLike>>; export declare const supportedLanguageLookup: { [langCode: string]: string; };