zhw2590582 / WFPlayer

:ocean: WFPlayer.js is an audio waveform generator
https://wfplayer.js.org
MIT License
262 stars 32 forks source link

preload option availability #26

Closed LijaAlex12 closed 2 years ago

LijaAlex12 commented 2 years ago

Is there a possibility of removing the delay while the waveform is being generated, as the audio in my case is fetched from server. The audio is playing but the the waveform corresponding to the first 2 beats is delayed. I have added preload="auto" to audio tag.

zhw2590582 commented 2 years ago

I don't understand what you mean. Is there have a time delay between the audio and waveform? Like, audio in 3s but the waveform in 1s?