Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

179
Vistas
Get word being read in speech synthesis utterance?

So I have been trying to get this for a thing I am doing but couldn't find any good tutorials on it or questions on it here. All I found was people finding out how to highlight the text with a textarea. In my code the last two params for the function are for the text that displays the current text that is being read.

function speak(text, speed, displaytext, idoftexttodisplay) {
    let realspeed = undefined

    if (speed) {
        realspeed = speed
    } else {
        realspeed = 1
    }

    let speech = new SpeechSynthesisUtterance(text)
    speech.lang = "en"
    speech.rate = realspeed
    speechSynthesis.speak(speech)
}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda