What mathematical formula do video editors use when they create a final mix of audio tracks?
Suppose I have a mono track pcm_f32le
and 2 stereo tracks pcm_f64le
. How do they calculate the loudness of each track in the output file? I'd like to do the same in numpy
.