Add a new Slider to your Audio Amplitude Null,
Give it this expression:
amp = effect("Both Channels")("Slider");
nki=amp.nearestKey(time).index;
accum = 0;
while (nki>0) {
accum+=amp.key(nki).value;
nki--;
}
accum;
Then, run “Convert Expression To Keyframes”
It might take several minutes if your music is more than a couple dozen seconds long.
A script could do it faster.