google-translate-tts:Google Translate TTS(文本到语音)API的节点库

时间:2021-05-24 15:08:12
【文件属性】:
文件名称:google-translate-tts:Google Translate TTS(文本到语音)API的节点库
文件大小:69KB
文件格式:ZIP
更新时间:2021-05-24 15:08:12
text-to-speech node-red tts JavaScript google-translate-tts 该软件包用于使用Google Translate在node js中创建音频剪辑。 该库已更新,可与Google在2020年11月引入的Translate API的一起使用。 精神继任者,可与以前的Translate API一起使用。 安装 npm install google-translate-tts 或者 yarn add google-translate-tts 用法 查找要使用的声音: const tts = require ( 'google-translate-tts' ) ; // lookup by name const voice = tts . voices . findByName ( 'English (United States)' ) ; // lookup by code const voice = tt
【文件预览】:
google-translate-tts-master
----yarn.lock(150KB)
----src()
--------synthesize.js(2KB)
--------voices.js(3KB)
--------index.nodered.html(2KB)
--------index.js(140B)
--------index.nodered.js(432B)
----scripts()
--------node()
--------tts.sh(267B)
----test()
--------snapshot.mp3(3KB)
--------voices.test.js(450B)
--------synthesize.test.js(613B)
----README.md(1KB)
----package.json(613B)

网友评论