To do so, harmonic amplitude envelopes are frame-by-frame normalized to become amplitude proportion envelopes, where at each time frame all the harmonic amplitudes will add to 100% (or 1). This way, the main loudness-controlling envelope can be cleanly controlled.