Yeah these would be good additions to the song analysis code.
One thing that it does do is use replaygain to try to have all songs at the same sound level. So that in theory should help with the last one but you’d need to check and see what the status of the analysis is if it doesn’t appear to be working.