Skip to content

Commit

Permalink
fix: make music volume softer
Browse files Browse the repository at this point in the history
fixes #26

Co-authored-by: NotHereToRule <sahiltomar100303@gmail.com>
Co-authored-by: Sahil Singh Tomar <50849361+SahilSinghTomar@users.noreply.github.com>
  • Loading branch information
3 people committed Mar 10, 2023
1 parent c66418e commit 11cb1be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified __pycache__/music.cpython-310.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions music.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ def music():
pygame.init()
pygame.mixer.init()
sound = pygame.mixer.Sound("Music/sotb.mp3")
sound.set_volume(0.2) # Now plays at 20% of full volume.
sound.play()

0 comments on commit 11cb1be

Please sign in to comment.