🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@echogarden/gnuspeech-wasm

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@echogarden/gnuspeech-wasm

WebAssembly port of the GnuSpeech speech synthesizer.

0.2.1
latest
Source
npm
Version published
Weekly downloads
210
-4.55%
Maintainers
0
Weekly downloads
 
Created
Source

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

Keywords

GnuSpeech

FAQs

Package last updated on 27 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts