text2wav
Version:
Self-contained multilingual TTS speech synthesizer for Node.js in pure js
20 lines (18 loc) • 408 B
TypeScript
declare interface Options {
voice?: string,
amplitude?: number,
wordGap?: number,
capital?: number,
lineLength?: number,
pitch?: number,
speed?: number,
encoding?: number,
hasTags?: boolean,
noFinalPause?: boolean,
punct?: string,
}
interface text2wav {
(text: string, opts?: Options): Promise<Uint8Array>
}
declare const instance: text2wav
export = instance