Skip to content

Commit

Permalink
fix: reduce treble gain from 10dB to 6dB
Browse files Browse the repository at this point in the history
Episode 2 applied a gain of 10dB on the treble filter
and the sound wasn't too good, so we reduce to 6.
  • Loading branch information
engineervix committed Jun 2, 2023
1 parent 180eb0f commit bc031f9
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=10 parameter specifies the gain in decibels (dB) to be applied to the treble frequencies.
# The g=6 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=10" {eq_mix}',
f'ffmpeg -i {voice_track_in_stereo} -af "treble=g=6" {eq_mix}',
shell=True,
)

Expand Down

0 comments on commit bc031f9

Please sign in to comment.