Commit 92739326 authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

use -rms option when adjusting the level of the background noise

parent 08118ad0
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ def generate_sba_scene(
            )
            scene["background_level"] = -26
        background.audio, _ = loudness_norm(
            background, scene["background_level"], loudness_format="STEREO"
            background, scene["background_level"], loudness_format="STEREO", rms=True
        )

        # add the background noise to the output signal
+1 −1
Original line number Diff line number Diff line
@@ -416,7 +416,7 @@ def generate_stereo_scene(
            )
            scene["background_level"] = -26
        background.audio, _ = loudness_norm(
            background, scene["background_level"], loudness_format="STEREO"
            background, scene["background_level"], loudness_format="STEREO", rms=True
        )

        # add the background noise to the output signal