Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

199
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda