UNPKG

@echogarden/gnuspeech-wasm

Version:

WebAssembly port of the GnuSpeech speech synthesizer.

13 lines (12 loc) 422 B
export declare function synthesize(text: string, options: GnuSpeechOptions): Promise<{ audioData: any; params: any; }>; export type GnuSpeechVoiceName = 'male' | 'female' | 'large_child' | 'small_child' | 'baby'; export declare const defaultGnuSpeechOptions: GnuSpeechOptions; export interface GnuSpeechOptions { voice?: GnuSpeechVoiceName; tempo?: number; controlRate?: number; debug?: boolean; }