Automatically calculate possible increase in volume after each task completion. If task is restarted, increase limiter volume in stage 0. This requires processing two times.
Create new task type. Take mp3 and maximize it. This is more difficult and will encode mp3 file two times.
After rendering of stage 0 is finished, start reaper and recompress mp3 with added compression. This will encode mp3 file two times. For testing purposes do this 100 times in a row
Simplest method is get highest peak and calculate its headroom. Doing this will ensure that peak will get to the top. This method is also good to start with - so that algorithm is calibrated correctly.
Calculate RMS. If RMS is below -10 dB, increase signal, but to avoid overshooting more than 5 dB
Solutions: