Typically volume of a track is chosen by the producer/person mixing. You could theoretically get an average volume and scale the tracks gain. This could have the effect of compressing or chopping parts of the song that are purposefully loud while the rest of the song is purposefully quiet.
I think it isn’t done in order to maintain the intention of how the track was mixed. Typically people won’t have playlists of quiet classical mixed with maxed out edm so a general rule is hard to predict and the authors of the music player just leave it as is.
Look into the cd loudness wars of the 90s where record companies were mixing their tracks louder and louder to compete, which produced notoriously terrible album mixes.
Typically volume of a track is chosen by the producer/person mixing. You could theoretically get an average volume and scale the tracks gain. This could have the effect of compressing or chopping parts of the song that are purposefully loud while the rest of the song is purposefully quiet.
I think it isn’t done in order to maintain the intention of how the track was mixed. Typically people won’t have playlists of quiet classical mixed with maxed out edm so a general rule is hard to predict and the authors of the music player just leave it as is.
Look into the cd loudness wars of the 90s where record companies were mixing their tracks louder and louder to compete, which produced notoriously terrible album mixes.