An application to organize and play musical tracks along with corresponding artworks using OOP concepts and Win32 API (Windows Multimedia).
This mini (and understandably buggy) project has been developed in response to my first introduction to Object Oriented Programming course.
Click to expand dependency list
-
Win32 API : Microsoft's core set of application programming interfaces available in the Windows operating systems.
- Required header files-
- Windows.h
- MMSystem.h
- Required linker libraries-
- gdi32
- comdlg32
- oleaut32
- ole32
- uuid
- Required header files-
-
WinBGIm Library : A Windows based C++ graphics library based on the classic Borland Graphics Interface.
- Required header files-
- graphics.h
- winbgim.h
- MMSystem.h
- Required static link library file-
- libbgi.a
- Required linker library-
- bgi
- Required header files-
Click to expand setup instructions
-
Import Headers
- From WinBGIm_GCC47 folder, copy graphics and winbgim header files, goto
C:\Program Files (x86)\CodeBlocks\MinGW\include
and paste them - From WinBGIm_GCC47 folder, copy libbgi.a
goto
C:\Program Files (x86)\CodeBlocks\MinGW\lib
and paste it
- From WinBGIm_GCC47 folder, copy graphics and winbgim header files, goto
-
Configure Codeblocks
- From codeblocks IDE, goto Settings > Compiler > Linker Settings. Click on Add, write "winmm" and then press OK.
-
Link Libraries
- From WinBGIm_GCC47 folder,open 'linker.txt' and copy all the contents.
- From codeblocks IDE, goto Settings > Compiler > Linker Settings. `
- Under other linker options, paste the copied text
- Under Link Libraries, click <kbdAdd,click browse and select
C:\Program Files (x86)\CodeBlocks\MinGW\lib
TrackInfo is a CSV file that contains all the track information in the format "TRACK_NAME, ALBUM_NAME, ALBUM_COVER_TITLE"
In order to add a new track in the library, paste the track (WAV format) in Audio Library subfolder and Cover art (JPG) in Album Covers subfolder, then add the track related information by pressing option 6 in the program or directly editing the TrackInfo text file.
NOTE: Added track title should be followed by 'wav' and cover art should be followed by 'jpg' extension.
If the track doesn't play by itself, please uncomment (remove '//' characters) the system("pause")
statement in LINE 68 of music player beta.cpp file.
- Developed by-
- Anjum Rashid (Lead)
- Aparna Das