Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pygame play sound

import pygame

pygame.mixer.init()
crash_sound = pygame.mixer.Sound("crash.wav")
crash_sound.play()
Source by pythonprogramming.net #
 
PREVIOUS NEXT
Tagged: #pygame #play #sound
ADD COMMENT
Topic
Name
1+8 =