Pygame spielen Sound
import pygame
pygame.mixer.init()
crash_sound = pygame.mixer.Sound("crash.wav")
crash_sound.play()
AlarmClockMan
import pygame
pygame.mixer.init()
crash_sound = pygame.mixer.Sound("crash.wav")
crash_sound.play()
import pygame
pygame.init()
mixer.music.load("music/main.wav")#music file
mixer.music.play(-1)
import pygame
pygame.init()
pygame.mixer.play('datei.wav')
pygame.mixer.music.load('jazz.wav')
pygame.mixer.music.play(-1)