ibmtts
v1.2.0
Published
Module based on puppeteer to get free quality tts from IBM
Downloads
10
Readme
Module based on puppeteer to get free quality tts from IBM
/**
* Creates a **puppeteer** browser.
*
* @example
* ibmTTS.createBrowser()
*
* @example
* ibmTTS.createBrowser({headless: false})
*
*
* @return a pupppeteeer browser
*/
/**
* Converts text to speach.
* browser should be a puppeteer browser or a
* ibmTTS.createBrowser browser
*
* @example
* iibmTTS.get(browser, {
* text: "Hello, world!",
* output: "./test.flac" // Should be a path or a stream
* voice: 5 // Voice index (starting from 1)
* dialect: 1 // Dialect index (starting from 1)
* language: 5 // Language index (starting from 1)
* })
*
* Get the indexes from https://www.ibm.com/demos/live/tts-demo/self-service/home.
*/