AImissq / tts

Synthetize text to speech using the browser speechSynthesis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TTS-JS - Text to speech

Synthetize text to speech using the browser speechSynthesis

Standard - JavaScript Style Guide

Instaling

npm i -S tts-js

Usage

// const tts = require('tts-js')
import tts from 'tts-js'

tts.speak('Hello World')

Options

// default options
tts.speak('Hello World', { lang: 'en-US', pitch: 1, rate: 1})

About

Synthetize text to speech using the browser speechSynthesis


Languages

Language:JavaScript 100.0%