Chaotunes is a simple music player built using Python, pygame, tkinter, and os libraries. The project provides a basic GUI (Graphical User Interface) to load and play audio files in .mp3 or .wav format. The music player allows users to play, pause, unpause, and stop the currently loaded audio track.
Make sure you have Python installed on your system. Additionally, install the pygame library using the following command:
pip install pygame- Clone or download this repository to your local machine.
- Open a terminal or command prompt and navigate to the project folder.
- Run the
player.pyscript using Python:
python player.py- The Chaotunes Music Player GUI will open.
- Click on the "Load Music" button to browse and select an audio file (
.mp3or.wav) from your computer. - Use the "Play", "Pause", "Unpause", and "Stop" buttons to control the playback of the loaded audio file.
This project is intended as a simple demonstration of building a music player using Python and various libraries. It may not handle all possible scenarios or edge cases. Feel free to customize and expand the code to suit your specific requirements and add more features.
Enjoy your music with Chaotunes!