0.0.6 • Published 7 years ago
iannitts v0.0.6
A tiny, node.js - based package aimed at offering RESTful services for TTS. Based on flite 2.0, but compatible with flite 1.4.
This is still work in progress code. It does work, but it has some issues. For example, the port and the directory with the voices are hardcoded. Will fix that soon.
Requires npm package flite2.
Returns an audio (wav) file, that can be played directly from within the browser.
Example
server: nodejs ttsserver.js
client: from your browser open the url:
http://localhost:9019/api/say?voice="cmu_us_rms.flitevox"&utt="Hello%20there!"
To install:
install flite in your system, then:
npm install flite2
npm install express
npm install url
npm install tmp
npm install ttsianni
(c) ianni67 (2018) - share and enjoy.