Rash
20th May 2015, 17:50
Hello guys. I have been reading the other topics here related to dynamic range compression and automatic level control, specially tebasuna51's amazing experience with this. I just would like to get some more tips if possible for my very specific application.
I have audio files recorded from a microphone that is placed on a fixed location in a room. People talk in the room from different distances to the microphone (like a meeting) and I would like to make them all sound at relatively the same volume.
I can only use ffmpeg and whatever tools ffmpeg have so I was playing with the compand's filter. However, I am not exactly sure how the transfer points work. Do they apply a relative gain on their range or is it a fixed gain? Let me explain. If I set -70,-35, I know it will apply a gain of 35dB to -70 samples and make them sound like -35dB. But what about -65? Will it also apply a 35dB gain making it sound like -30 or does it apply a relative gain? So at a 1:2 ratio the -65 would sound like -32.5db?
-75,-35,-20,-20 is:
-75 | -35
-55 | -25
-45 | -15
-25 | 0 (clipping)
-20 | -20
-15 | -15
0 | 0
Or -75,-35,-20,-20 is:
-75 | -35
-55 | -27.5
-45 | -22.5
-25 | -12.5
-20 | -20
-15 | -15
0 | 0
I have been playing with compand's points, but I couldn't come up with good values myself. Moreover, do I need to know exactly the volume ranges of each person in the room to make good guesses on transfer points? Or do you think it is possible to come up with a transfer function that works for all my recordings? Thank you!
I have audio files recorded from a microphone that is placed on a fixed location in a room. People talk in the room from different distances to the microphone (like a meeting) and I would like to make them all sound at relatively the same volume.
I can only use ffmpeg and whatever tools ffmpeg have so I was playing with the compand's filter. However, I am not exactly sure how the transfer points work. Do they apply a relative gain on their range or is it a fixed gain? Let me explain. If I set -70,-35, I know it will apply a gain of 35dB to -70 samples and make them sound like -35dB. But what about -65? Will it also apply a 35dB gain making it sound like -30 or does it apply a relative gain? So at a 1:2 ratio the -65 would sound like -32.5db?
-75,-35,-20,-20 is:
-75 | -35
-55 | -25
-45 | -15
-25 | 0 (clipping)
-20 | -20
-15 | -15
0 | 0
Or -75,-35,-20,-20 is:
-75 | -35
-55 | -27.5
-45 | -22.5
-25 | -12.5
-20 | -20
-15 | -15
0 | 0
I have been playing with compand's points, but I couldn't come up with good values myself. Moreover, do I need to know exactly the volume ranges of each person in the room to make good guesses on transfer points? Or do you think it is possible to come up with a transfer function that works for all my recordings? Thank you!