0.2.1 • Published 10 months ago

@echogarden/gnuspeech-wasm v0.2.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
10 months ago

GnuSpeech (WebAssembly port)

WebAssembly port of the GnuSpeech articulatory speech synthesizer.

Installation

npm install @echogarden/gnuspeech-wasm

Usage example

Calling synthesize returns a WAVE format buffer:

import { writeFile } from 'fs/promises'
import { synthesize } from '@echogarden/gnuspeech-wasm'

const { audioData } = await synthesize('Hello World!', {
	voice: 'male',
	controlRate: 250,
	tempo: 1.0,
})

await writeFile('out.wav', audioData)

License

MIT

0.2.1

10 months ago

0.2.0

10 months ago

0.1.0

10 months ago