I need help in creating a python program that plays MP3s, using the PyGame package to play both MIDI files, and Ogg Vorbis files. Using a menu that would look something like this:

1. Go to new music directory.
2. Play a song or playlist.
3. Stop music.
4. Create a new playlist.
5. Quit.
Enter your choice (1 - 5) -->

Any type of help would be appreciate it. Thank you.

Recommended Answers

All 3 Replies

I have tried to play mp3, mid and ogg files with Pygame. The help on the mixer seems to indicate that this should be possible. However I get messages that the SDL_mixer.dll that ships with pygame-1.7.1.win32-py2.4.exe is not the new version.

I assume you have looked at the AudioServer.py example at: http://mu.arete.cc/pcr/

If your experience is better, please let me know.

Hey... is this project for cmpt 120??

I need help in creating a python program that plays MP3s, using the PyGame package to play both MIDI files, and Ogg Vorbis files. Using a menu that would look something like this:

1. Go to new music directory.
2. Play a song or playlist.
3. Stop music.
4. Create a new playlist.
5. Quit.
Enter your choice (1 - 5) -->

Any type of help would be appreciate it. Thank you.

A friend of me says that you can play mp3, mid and ogg files with Pygame but you need extra install modules for SDLs.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.