Skip to content

Instantly share code, notes, and snippets.

@jorgepinto26
jorgepinto26 / app.js
Created October 30, 2025 13:24
Código alternativo à biblioteca "Responsive voice"
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.");
}
@jorgepinto26
jorgepinto26 / app.js
Created October 30, 2025 13:22
Código de leitura de tela
responsiveVoice.speak(texto, 'Brazilian Portuguese Female', {rate:1.2});