lite-tts
TypeScript icon, indicating that this package has built-in type declarations

2.0.4 • Public • Published

LiteTTS

How to install

npm install lite-tts

How to run - Create app.js file (or in your project file) and use any one of the example given below


Code Example 1

const liteTTS = require('lite-tts').LiteTTS;
const s = new liteTTS('win32');
 
s.speak('Hello World!');
//s.stop();

Code Example 2

const liteTTS = require('lite-tts').LiteTTS;
const s = new liteTTS('win32');
 
s.speak('Hello World!', 'Microsoft Zira Desktop', 1.0);
//s.stop();

Code Example 3

const liteTTS = require('lite-tts').LiteTTS;
const s = new liteTTS('win32');

s.export("Hello World! It's me Lite TTS", 'Microsoft Zira Desktop', 0.9, 'halloworld.wav', (err) => {
    if (err) {
      return console.error(err)
    }
    console.log('Text has been saved to halloworld.wav.')
});

Package Sidebar

Install

npm i lite-tts

Weekly Downloads

1

Version

2.0.4

License

MIT

Unpacked Size

14.4 kB

Total Files

11

Last publish

Collaborators

  • mdrehan4all