UNPKG

echogarden

Version:

An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.

16 lines (15 loc) 519 B
import { SynthesisVoice } from '../api/API.js'; export declare function synthesize(text: string, modelId: string, options: DeepgramTTSOptions): Promise<{ rawAudio: { audioChannels: Float32Array<ArrayBufferLike>[]; sampleRate: number; }; }>; export declare function getVoiceList(): Promise<SynthesisVoice[]>; export interface DeepgramTTSOptions { apiKey?: string; } export declare const defaultDeepgramTTSOptions: { apiKey: undefined; }; export declare const voiceList: SynthesisVoice[];