Skip to content

Instantly share code, notes, and snippets.

View AnaCXavier's full-sized avatar

Ana Carolina Xavier AnaCXavier

  • Intelipost
  • Pernambuco
View GitHub Profile
@AnaCXavier
AnaCXavier / app.js
Last active September 22, 2025 14:16
Código de imagem da 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.");
}