Skip to content

Commit

Permalink
Merge pull request #2 from Axxl07/Axxl07-patch-1
Browse files Browse the repository at this point in the history
Update helper1.py
  • Loading branch information
Jacoblightning authored Feb 12, 2024
2 parents d4f394b + 87769af commit 4e19826
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helper1.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ def fraction_half_round_up(fraction):
input.audio
# normalize audio to prevent peaking
.filter("loudnorm")
# adjust volume
.filter("volume", volume=6.0)
# output raw 8-bit audio
.output("pipe:", format="u8", acodec="pcm_u8", ac=1, ar=sample_rate)
# only display errors
Expand Down

0 comments on commit 4e19826

Please sign in to comment.