Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/echogarden-project/gnuspeech-wasm

WebAssembly port of the GnuSpeech speech synthesizer.
https://github.com/echogarden-project/gnuspeech-wasm

gnuspeech speech-synthesizer text-to-speech

Last synced: 18 days ago
JSON representation

WebAssembly port of the GnuSpeech speech synthesizer.

Awesome Lists containing this project

README

        

# GnuSpeech (WebAssembly port)

WebAssembly port of the [`GnuSpeech articulatory speech synthesizer`](https://github.com/mym-br/gnuspeech_sa).

## Installation

```
npm install @echogarden/gnuspeech-wasm
```

## Usage example

Calling `synthesize` returns a WAVE format buffer:
```ts
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