z-huang / InnerTune

A Material 3 YouTube Music client for Android
GNU General Public License v3.0
4.72k stars 287 forks source link

Audio sounds compressed and washed out #1602

Closed Thatstinkyguy closed 1 month ago

Thatstinkyguy commented 2 months ago

Checklist

Steps to reproduce the bug

  1. Having audio normalization on or off or the quality auto, high, or low doesn't seem to make a difference.
  2. Open a song with a heavier melody (such as Theocracy's Hide in the Fairytale [https://music.youtube.com/watch?v=8AS1PelE138]
  3. Around the 0:47-0:52 mark, the "washed out sound" is noticeable the cymbal clang and riff compared to the same upload being played through any other YouTube client.

Expected behavior

It should sound more clear.

Actual behavior

It sounds washed out.

Screenshots/Screen recordings

https://github.com/user-attachments/assets/08efaf22-0564-44ff-9020-b193c9113ca0

Logs

I don't have the ability to do this.

InnerTune version

0.5.10

Android version

Android 14

Additional information

No response

gechoto commented 1 month ago

Please tap on the three dots at the bottom and go to the "Details". Post a screenshot of it.

Also you should really turn audio normalization off in the current version see https://github.com/z-huang/InnerTune/issues/1526

Thatstinkyguy commented 1 month ago

Please tap on the three dots at the bottom and go to the "Details". Post a screenshot of it.

Also you should really turn audio normalization off in the current version see #1526

Screenshot_20240922_030134_InnerTune

I also have audio normalization off, the audio quality is set to high, and I also turned off battery optimization.

I have no idea why the bitrate is lower on ones like this. I checked another song (King's X - Complain) and the bitrate listed in the details on that was 131.

gechoto commented 1 month ago

I have no idea why the bitrate is lower on ones like this

Did you have the audio quality set to Low or Auto when you played the song for the first time? Because InnerTune currently saves songs in a cache on first playback in the quality it was first loaded in. So if the audio quality is low on first playback -> it will always stay low

This might change in the future see: https://github.com/z-huang/InnerTune/issues/1527#issuecomment-2324855247

The only workaround I know for now is you need to ensure that songs are never loaded in low quality. To do this: 1) Close the currently playing song 2) Open settings 3) In Player and audio set Audio quality to High 4) Go back to settings and to Storage 5) Select Clear all downloads and Clear song cache

Thatstinkyguy commented 1 month ago

Unfortunately, the low bitrate on some songs persists (including the one used in the example), even after following the steps, and clearing the app cache from the settings.

gechoto commented 1 month ago

Unfortunately, the low bitrate on some songs persists (including the one used in the example)

Just tested the example song and I get high quality opus (format 251)

even after following the steps, and clearing the app cache from the settings.

Hm you could test uninstalling the app, reinstalling it and set audio quality to High as first step after installation before playing any song.

If this doesn't help it might be a server-side limitation. In this case using a VPN/Proxy might help.

What format do you get in the original YT Music app or the Web player?

Thatstinkyguy commented 1 month ago

@gechoto I get the high preset with YT Music itself. I'll try uninstalling and reinstalling.

Thatstinkyguy commented 1 month ago

@gechoto Update: I reinstalled it with importing a backup with my liked songs. That made the issue persist. However, after reinstalling it again and not importing a backup, it's fine. I'll have to like all my songs again, but as Thanos said... thanos-a-small-price-to-pay-for-salvation

Thanks for all your help, by the way!

gechoto commented 1 month ago

Continuation: https://github.com/z-huang/InnerTune/issues/1631