I'm looking for an alternative to winsound that works on macOS so that I can create a melody. I've already tried it with:
import pygame
pygame.init()
pygame.mixer.init()
sounda = pygame.mixer.Sound("desert_rustle.wav")
sounda.play()
but it doesn't work...