renderer.py 181 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 import pygame import time pygame.mixer.init() test = pygame.mixer.Sound("test4.wav") start = time.time() while(True): test.play() time.sleep(12) print(time.time() - start)