pygame play sound

162

pygame play sound -

import pygame

pygame.mixer.init()
crash_sound = pygame.mixer.Sound("crash.wav")
crash_sound.play()

Comments

Submit
0 Comments