pygame play sound

186

pygame play sound -

import pygame

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

Comments

Submit
0 Comments