Skip to content

Instantly share code, notes, and snippets.

@jooplima
jooplima / app.js
Created December 7, 2025 14:11
Código de leitura de tela (corrigindo possível erro)
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.");
}
@jooplima
jooplima / app.js
Created December 7, 2025 14:08
Código de leitura de tela
responsiveVoice.speak(texto, 'Brazilian Portuguese Female', {rate:1.2});