oxyroid / M3UAndroid

Open Source Player, which made of jetpack compose. Android 8.0 and above supported.
https://t.me/m3u_android
Apache License 2.0
216 stars 24 forks source link

Add "Reduce Loud Sounds" or "Night mode for audio" #97

Open sguinetti opened 2 months ago

sguinetti commented 2 months ago

Is your feature request related to a problem? Please describe. In some cases, when watching TV in a quiet place (or at night), even with the smartphone with speakers, an unexpected loud noise occurs annoyingly and can be heard by other people (outside the place). In some cases, the volume of the device needs to be turned up or down but it is somewhat uncomfortable.

In the case of headphones, the situation changes. It turns out that if the user is using headphones for a long time during leisure or work and resorts to very loud and non-controlling sound effects, depending on the sensitivity of each one, the ears might hurt or feel blocked.

Describe the solution you'd like Activate an option for a "Reduce Loud Sounds" mode. This feature can be described as "dynamically adjust the volume level".

Describe alternatives you've considered The feature would appear in the application settings. In some devices there may be an option to reduce noise externally but they are usually not completely efficient. That is why implementing this application is quite necessary.

Additional context Based on filters loudnorm or dynaudnorm (FFmpeg, see https://github.com/iina/iina/issues/1492) and VSG:Audio:Normalization

See also https://github.com/Stremio/stremio-features/issues/313 and https://github.com/jellyfin/jellyfin-androidtv/issues/1434