HTML5 audio player has problems with large audio files. This causes delayed playback and syncing problems with the text.
The following was found to help with playback without compromising quality:
- Use a lossy file format (like mp3)
- Reduce bitrate and sample rates to 16k
- Reformat to a constant bitrate
- Convert to mono
It would be better to do all of this in the browser once a user uploads audio, e.g., using https://github.com/Kagami/ffmpeg.js
HTML5 audio player has problems with large audio files. This causes delayed playback and syncing problems with the text.
The following was found to help with playback without compromising quality:
It would be better to do all of this in the browser once a user uploads audio, e.g., using https://github.com/Kagami/ffmpeg.js