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) 538 B
import { GnuSpeechOptions } from '@echogarden/gnuspeech-wasm'; import { SynthesisVoice } from '../api/Synthesis.js'; export declare function synthesize(text: string, options: GnuSpeechOptions): Promise<{ rawAudio: { audioChannels: Float32Array<ArrayBufferLike>[]; sampleRate: number; }; sourceSampleFormat: import("../codecs/WaveCodec.js").SampleFormat; sourceBitDepth: import("../codecs/WaveCodec.js").BitDepth; sourceSpeakerPositionMask: number; }>; export declare const voiceList: SynthesisVoice[];