Store noise profile directly as a norm, and instead of directly overwriting the noise profile, set it to zero when capturing, and always set it to the highest value seen, so that it is in theory more even over the spectrum.
I've tested this one one track, and it seems to have made the noise reduction just barely more effective, but it's up to you whether you want to try it yourself.
This should also fix a bug where only half of the noise profile was getting serialized
Store noise profile directly as a norm, and instead of directly overwriting the noise profile, set it to zero when capturing, and always set it to the highest value seen, so that it is in theory more even over the spectrum.
I've tested this one one track, and it seems to have made the noise reduction just barely more effective, but it's up to you whether you want to try it yourself.
This should also fix a bug where only half of the noise profile was getting serialized