Skip to content

Instantly share code, notes, and snippets.

View wallenoliveira's full-sized avatar

WallenOliveira wallenoliveira

View GitHub Profile
@wallenoliveira
wallenoliveira / app.js
Created January 30, 2025 09:51
código alternativo para ser usado na biblioteca de voz.
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.");
}
@wallenoliveira
wallenoliveira / app.js
Created January 30, 2025 09:41
codigos sobre voz
responsiveVoice.speak(texto, 'Brazilian Portuguese Female', {rate:1.2});