Skip to content

Instantly share code, notes, and snippets.

@NickyM-hub
NickyM-hub / app.js
Last active January 6, 2026 13:28
Código de leitura de tela
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.");
}