Skip to content

Reformat audio in the browser #18

@smlum

Description

@smlum

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    long termlong term milestone

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions