- Graphical user interface
- Control the audio playback via GUI: Play, Pause, Stop, Next, Previous, Seeking(by the progresssbar), Volume adjustment
- Audio browsing & loading from external directories
- Playlist listing loaded audio files
- 5 playback modes: List loop, Single loop,Play in order, Single once, Random
- Displaying audio information by reading metadata
- Audio visualization
- Support multiple audio formats
The needed external library is Qt5. The version used to develop the project is 5.5.1.
After downloading the tar.gz file of the project and unzipping it:
$ cd src/qt-project/
$ make
$ ./player
- Button "add"
- Adding audio file(s) to the playlist
- If the playlist is not empty, the file(s) will be added below the file currently selected in the list
- If the file has been added to the playlist, an warning will be given
- Button "remove"
- Removing the selected file from the playlist.
- An warning will be given if the file is under playing or paused
- Button "Play"
- Playing the current selected file in the playlist
- If the selected file is not playing, the file will be played soon
- If the selected file is under playing, there is no effect
- An warning will be given if the playlist is empty.
- An warning will be given if the file can not be found (e.g. the file has been deleted from local machine or changed its path). (Then you can remove this file from the playlist by clicking "remove")
- The file name of the current media will be showed in the window title
- Button "Pause"
- The audio under playing is paused
- It is disabled when the audio has been paused or stopped
- Button "Stop"
- The audio under playing is stopped
- It is disabled when the audio has been stopped
- Button "Next"
- Playing the next file of the file currently selected
- If the selected file is the last in the playlist, the first file in the list will be played
- Button "Previous"
- Playing the previous file of the file currently selected
- If the selected file is the first in the playlist, the last file in the list will be played
- Slider Volume
- Moving the slider to adjust volume
- The default value is 50/100
- Slider Progress_bar
- Showing the progress of the audio under playing
- Moving it to seek position
- Combo-box Mode
- Select one among 5 playback modes: List loop, Single loop, Play in order, Single once, Random
- The default mode is List loop
- Listwidget Metadata_list
- Display the meta-data of the current audio
- The displayed information includes: Title, Album, Author, Genre
- Visualization_bar group
- Real-time visualize the audio under playing