Skip to content

Instantly share code, notes, and snippets.

View opaulxs's full-sized avatar

Paulo lima opaulxs

View GitHub Profile
@opaulxs
opaulxs / app.js
Created September 30, 2025 15:38
Leitura de texto Voice google
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.");
}