GithubHelp home page GithubHelp logo

bijoy26 / music-player-console Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 134.62 MB

Play & organize musical tracks with visuals using Win32 Multimedia API

License: GNU General Public License v3.0

C++ 100.00%
win32api music-player oop-principles multimedia-player wav

music-player-console's Introduction

Music-Player-Console-Application-in-C++-

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.

music player app showing artworks


Dependencies at a glance

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
  • 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

Environment Setup

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
  • 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

FAQ

1. What does TrackInfo file do?

TrackInfo is a CSV file that contains all the track information in the format "TRACK_NAME, ALBUM_NAME, ALBUM_COVER_TITLE"

2. How do I add my new track to the library?

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.

3. The tracks are not playing properly. HELP!

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.


Credits

music-player-console's People

Contributors

bijoy26 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.