这是一个关于 EdgeTTS 的nodejs库,可以直接调用,适用于无成本AI配音 开始 # 项目引入 $ npm i edge-tts-nodejs --save 案例 const { toVoice, voices } = require("edge-tts-nodejs") const path = require("path") // Export different formats toVoice("你好世界", path.resolve('./wav/helloworld...
ttsPause(); // Resumes from a paused state, plays from the begining of the last-played utterance, and onwards. ttsResume(); // Stops any ongoing playback and discards the popup modal TTS overlay. // Cleans-up allocated resources. ttsStops(); // Navigate backward / forward inside the ...
Read aloud, TTS (Text To Speech), Synthetic Speech import { TTSStateEnum, ttsClickEnable, ttsListen, ttsNext, ttsPause, ttsPlay, ttsPrevious, ttsResume, ttsStop, } from "@r2-navigator-js/electron/renderer/index"; // When true, mouse clicks on text inside publication documents // trigger...