Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

192
Views
SpeechSynthesis, Web Speech API, ¿elimina el retraso después de que ha terminado de hablar y se activa la propiedad onend?

Estoy mostrando un gráfico animado mientras SpeechSynthesisUtterance está hablando. Estoy usando la propiedad onend para detectar cuándo ha terminado de hablar para eliminar el gráfico animado. Sin embargo, hay un retraso significativo entre la finalización de la conversación y la activación del evento de un extremo, lo que significa que el gráfico animado continúa reproduciéndose durante aproximadamente 1 segundo aunque la conversación haya finalizado. ¿Es posible eliminar este retraso? El siguiente código es una demostración simple del problema.

 let utterance = new SpeechSynthesisUtterance("Approximately a second delay after utterance has finished and the onend event firing"); speechSynthesis.speak(utterance); utterance.onend = function () { console.log("There is a delay before this message appears?");

}

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!