我正在尝试在Node.JS中使用Google文本语音API。我正在使用google-tts-api生成api链接,现在想播放它们。是否有任何节点库可以播放来自Weblink的声音?
var tts = require('google-tts-api')
tts(text,"de-DE",1).then(function (url){
playSound(url)
})
function playSound(url){
//Some code, that is able to play the audio from the url.
}