techoverload/audio.py

8 lines
202 B
Python
Executable File

import pygame
pygame.mixer.init()
pygame.mixer.music.load("morninggarden.mp3")
pygame.mixer.music.set_volume(0.5)
pygame.mixer.music.play()
while pygame.mixer.music.get_busy() == True:
continue