📜  音频播放器 python 代码示例

📅  最后修改于: 2022-03-11 14:46:33.336000             🧑  作者: Mango

代码示例1
from audioplayer import AudioPlayer

# Playback stops when the object is destroyed (GC'ed), so save a reference to the object for non-blocking playback.
AudioPlayer("path/to/somemusic.mp3").play(block=True)