windows-tts
v1.0.3
Published
Make tts wav buffer on windows.
Downloads
5
Readme
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);
})();