tts3

1.1.8 • Public • Published

Module based on puppeteer to get free quality text to speech from azure

/**
 * Creates a puppeteer-stream browser.
 *
 * @example
 * azureTTS.createBrowser()
 *
 * @example
 * azureTTS.createBrowser({headless: false})
 *
 *
 * @return a pupppeteeer-stream browser
 */


/**
 * Converts text to speach.
 * browser should be a puppeteer browser or a
 * ibmTTS.createBrowser browser
 *
 * @example
 * azureTTS.get(browser, {
 *  text: "Hello, world!",
 *  output: "./test.ogg" // Should be a path or a stream (The audio stream may need to be reprocessed after being saved)
 *  voice: "jacob" // Voice (Get it from azure.microsoft.com/en-us/services/cognitive-services/text-to-speech)
 *  language: "English (United States)" // Language index (Get it from azure.microsoft.com/en-us/services/cognitive-services/text-to-speech)
 * })
 *
 */

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i tts3

    Weekly Downloads

    2

    Version

    1.1.8

    License

    MIT

    Unpacked Size

    20.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • bloxxy213