Does PyDub make any changes to volume when overlaying audio? Is the volume of each segment halved?
I want to overlay multiple segments together, but I'm not sure if the volume will be accurately distributed.
Assuming I have 3 AudioSegments and I want to overlay them over each other, will the volumes be disproportionate if I do it like this
base = AudioSegment.from_file(...)
first = AudioSegment.from_file(...)
second = AudioSegment.from_file(...)
mix = base.overlay(first)
mix = mix.overlay(second)
I am thinking that base
and first
might only have 25% of original volume, while second
will be 50% of original volume. Ideally, I would want the volume of each to be 33.33% of their respective original volumes