Peak search

I have a bit of an odd question

I am looking to use volumio on a spare raspberry Pi to help copy flac/mp3 to my reel to reel tape recorder. The problem i have is selling the recording level. If you remember years ago you could get CD players that would scan the cd you wanted to copy to tape looking for the loudest bit of the cd and just play it over and over so you could set the levels

Does anyone know of a way to make Volumio do something like this with a playlist of songs? If not can you set up some sort of normalisation to bring the playback volume of louder tracks down?