- #1
entropy1
- 1,231
- 71
Suppose I have two audiofiles in 16 bit PCM, both recorded on a level that, except for the noise and distortion, is maximally recorded, or that the maximum recording level results in the maximum PCM level. So, the signal is recorded on the maximum level such that there is no clipping.
If we want to mix both files together so that the volume of both audiosignals remain at the same volume, we can:
If we want to mix both files together so that the volume of both audiosignals remain at the same volume, we can:
- just add both signals together samplewise. However, now we can have samples in the mix that clip, because the value of the sum of both signals can exceed the 16 bits.
- We can add both signals samplewise and divide by two. Now the mix won't have clipping, but the volume of both signals has halved.