import time
from pygame import mixer

mixer.init(frequency=16000) 
s1 = mixer.Sound('test.wav')
s2 = mixer.Sound('test2.wav')


s1.play(-1)         
time.sleep(0.5)


s2.play()          
time.sleep(2)
s2.play(2)         
time.sleep(10)


s1.set_volume(0.1)
time.sleep(5)


s1.set_volume(1)
time.sleep(5)

s1.stop()
s2.stop()
mixer.quit()