I made my own version and it worked, but suddenly there where no speech, I tried changing stuff but still the same - then downloaded and browsed the sourcecode, but the where no sound still although I have internet and other sound types works fine, any clue?
good one!
Thanks
is ko download kase karya download button
Please make how to download this voice in mp3
Update the code
const downloadBtn = document.querySelector(".download-btn");
downloadBtn.addEventListener('click',function(data , name = "audio.mp3"){
var speech = synth.speak(speakText)
const blob = new Blob([speech], {type:"audio/mpeg"})
const href = URL.createObjectURL(blob)
const a = Object.assign(document.createElement('a'), {
href,
style:"display:none",
download:"audio"
});
document.body.appendChild(a)
a.click()
URL.revokeObjectURL(href)
a.remove()
})
I made my own version and it worked, but suddenly there where no speech, I tried changing stuff but still the same - then downloaded and browsed the sourcecode, but the where no sound still although I have internet and other sound types works fine, any clue?
It seems to have been a render problem, the computer lagged behind i guess, never mid i wrote, great video.