androidx / androidx/media

exoplayer_midi sounds very quiet and also audibly wrong compared to MediaPlayer, even though both use sonivox 22k wave table as sound font

Open
#2,983 0 comments 0 reactions 1 assignee View on GitHub

@rohitjoins is already working on this.

Since Jan 5, 2026.

bug needs triage
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Version

Media3 main branch

More version details

7535bae689a10384dad826aa1303589911067b0c

Devices that reproduce the issue

all of them

Devices that do not reproduce the issue

N/A

Reproducible in the demo app?

Not tested

Reproduction steps
  1. Play attached MIDI file with exoplayer and MIDI extension
  2. Play attached MIDI file with android.media.MediaPlayer (such as "Google Play Music" or any other app using MediaPlayer)
Expected result

It sounds exactly the same as MediaPlayer, because exoplayer_midi is based on the C Sonivox EAS library from MediaPlayer, and it also uses the exact same soundfont.

Actual result

It sounds dramatically quieter, and even after turning the volume up, and especially at 00:54-01:00 it is obvious the notes sounds different.

Media

relax_song.mid.zip

Bug Report
  • You will email the zip file produced by adb bugreport to android-media-github@google.com after filing this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.