Convert text to speech and play the sound
npm i @hendrikprinsza/basic-tts-player
npm i @hendrikprinsza/basic-tts-player
var bTtsPlayer = require('basic-tts-player');
bTtsPlayer("Hello, this is a test string");
Install:
$ npm install -g @hendrikprinsza/basic-tts-player
Use:
Usage: basic-tts-player [string]
Text to speech to speaker
Options:
-h, --help output usage information
-v, --version output version number
Usage Example
$ basic-tts-player "Hello, this is a simple string"