Hi,
Here is the code i used to play an mp3 file using tthe pyglet Library and
the subsequent result after the *play() *method is called :-
>>> import pyglet
>>> music = pyglet.media.load('bruno_mars-grenade.mp3', streaming=False)
>>> music.play()
<pyglet.media.ManagedSoundPlayer object at 0x03AB7830>
I do not understand why was i not able to hear the song being played
although this is how an audio file can be played from what i have read. My
speakers were not muted, and AVbin is installed. Operating system is
windows 7.
Any suggestion will be highly appreciated.
-Sudeep
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pyglet-users/-/8j0VuWu3UmUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en.