Add a feature that changes the fading audio into a normal play through audio without fading it. One for the Fade In Removal and one for the Fade Out Removal.
That’s about as good as it gets.
It is impossible to fully compensate for a fade out, because at the “silent end” of the fade there is nothing to restore (it’s “silent”).
Thank you for the Adjustable Fade tutorial, that helps.
There’s actually two problems with that. It can’t compensate for the bit that goes to zero, and the background noise comes up as you boost the sound. It’s not “free.”