From c3c0f61ff48553f943f5d23229ae95de91226101 Mon Sep 17 00:00:00 2001 From: Victor Miti Date: Mon, 5 Jun 2023 21:30:40 +0100 Subject: [PATCH] refactor: reduce the treble gain by half (from 6dB to 3dB) --- app/core/podcast/mix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/core/podcast/mix.py b/app/core/podcast/mix.py index c0cea004..ab716d6f 100644 --- a/app/core/podcast/mix.py +++ b/app/core/podcast/mix.py @@ -64,9 +64,9 @@ async def mix_audio(voice_track, intro_track, outro_track, dest=f"{DATA_DIR}/{to ) # adjust the treble (high-frequency). - # The g=6 parameter specifies the gain in decibels (dB) to be applied to the treble frequencies. + # The g=3 parameter specifies the gain in decibels (dB) to be applied to the treble frequencies. subprocess.run( - f'ffmpeg -i {voice_track_in_stereo} -af "treble=g=6" {eq_mix}', + f'ffmpeg -i {voice_track_in_stereo} -af "treble=g=3" {eq_mix}', shell=True, )