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

175
Vistas
Wavesurfer with timeline does not display correct "waves"

I have a angular application where I want to find "silent" audio parts in audiofiles.

this.wavesurferPlayer = wavesurfer.create({
  container: this.wavePlayer.nativeElement,
  responsive: true,
  waveColor: settings.colorsFaded[0],
  interact: true,
  plugins: [
    timelinePlugin.create({
      container: "#wave-timeline"
    })
  ]  
});

I run this when I set the cursor to get the time:

let time = this.wavesurferPlayer.getCurrentTime();

The time variable shows 21.12 - 21.13 for the "silent part". But when playing the same file in e.g. windows media player the time is 21.10 - 21.11 for the silent part. So about 2 seconds error.

See image timeline below where you can see that the silen part is not starting in 21.10.

Wavesurfer timeline image

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