Skip to content

Instantly share code, notes, and snippets.

@Joaov1510
Joaov1510 / app.js
Created May 21, 2025 15:00
caso biblioteca responsive voice não funcione utilizar este codigo
if ('speechSynthesis' in window) {
let utterance = new SpeechSynthesisUtterance(texto);
utterance.lang = 'pt-BR';
utterance.rate = 1.2;
window.speechSynthesis.speak(utterance);
} else {
console.log("Web Speech API não suportada neste navegador.");
}