Skip to content

echogarden-project/gnuspeech-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

WebAssembly port of the GnuSpeech speech synthesizer.

Topics

Resources

License

Stars

Watchers

Forks

Languages