Skip to content

Instantly share code, notes, and snippets.

View netomartinsns's full-sized avatar
🏠
Estudando Muito ONE-ORACLE-ALURA

Manoel Martins netomartinsns

🏠
Estudando Muito ONE-ORACLE-ALURA
  • Salvador Bahia
  • 16:19 (UTC -03:00)
View GitHub Profile
@netomartinsns
netomartinsns / app.js
Created January 21, 2025 12:10
correção de erro em biblioteca
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.");
}
@netomartinsns
netomartinsns / app.js
Created January 21, 2025 11:54
Código de leitura de tela
responsiveVoice.speak(texto, 'Brazilian Portuguese Female', {rate:1.2});