Skip to content

Instantly share code, notes, and snippets.

View rsrdl's full-sized avatar

José Olivar de Lima rsrdl

View GitHub Profile
@rsrdl
rsrdl / app.js
Last active May 18, 2025 22:59
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.");
}