windows-tts

1.0.3 • Public • Published

windows-tts

Make tts wav buffer on windows.

Example

const { speak, getInstalledVoices } = require("windows-tts");
const fs = require("fs");
const path = require("path");
 
(async () => {
    console.log(await getInstalledVoices());
    const wavBuffer = await speak("Hello!");
    console.log(wavBuffer);
    await fs.promises.writeFile(path.resolve(__dirname, "./result.wav"), wavBuffer);
})();

Package Sidebar

Install

npm i windows-tts

Weekly Downloads

14

Version

1.0.3

License

Unlicense

Unpacked Size

6.41 kB

Total Files

13

Last publish

Collaborators

  • lunuy