Skip to content

Commit

Permalink
refactor: reduce the treble gain by half (from 6dB to 3dB)
Browse files Browse the repository at this point in the history
  • Loading branch information
engineervix committed Jun 5, 2023
1 parent 735df94 commit c3c0f61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/core/podcast/mix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit c3c0f61

Please sign in to comment.