danleyb2
5/3/2015 - 7:39 AM

pyglet-audio.py

#!/usr/bin/env python

import pyglet

mp3 = "test.mp3"

source = pyglet.media.load(mp3)
player = pyglet.media.Player()
player.queue(source)
player.play()

pyglet.app.run()