2024-05-21 15:52:14 发布
网友
这些模块支持哪些声音格式:
pygame.mixer.sound
或:
pygame.mixer.music
来自pygame documentation:
The Sound can be loaded from an OGG audio file or from an uncompressed WAV.
至于Music,它似乎支持几个不同的功能,包括MP3(有限)、OGG、XM&MOD。请参见Documentation for music(以及该页上的注释)。
Music
你可能想看看这里:http://www.pygame.org/docs/ref/mixer.html#pygame.mixer.Sound
The Sound can be loaded from an OGG audio file or from an uncompressed WAV
来自pygame documentation:
至于
Music
,它似乎支持几个不同的功能,包括MP3(有限)、OGG、XM&MOD。请参见Documentation for music(以及该页上的注释)。你可能想看看这里:http://www.pygame.org/docs/ref/mixer.html#pygame.mixer.Sound
相关问题 更多 >
编程相关推荐