Skip to content

This is a GUI music app for my Data Structures and Algorithms class project. It uses a queue to manage the song playlist and a stack to track listening history, demonstrating the practical application of stack and queue data structures in a music-themed interface.

Notifications You must be signed in to change notification settings

lucifron28/CP103-Semi-Finals-Project-NPMusic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music Player Application

Overview

This project is a Music Player Application that demonstrates the use of stacks and queues. It allows users to manage a playlist and track recently played songs using a graphical user interface (GUI).

Features

  • Stack Operations:

    • Push: Adds a recently played song to the stack.
    • Pop: Removes the most recently played song from the stack.
    • Peek: Views the most recently played song without removing it from the stack.
  • Queue Operations:

    • Enqueue: Adds a song to the playlist queue.
    • Dequeue: Removes the next song from the playlist queue.
    • Peek: Views the next song in the playlist queue without removing it.
  • Graphical User Interface (GUI):

    • Buttons for Each Operation: Users can interact with the application using buttons for push, pop, enqueue, and dequeue operations.
    • Display Current States: The GUI displays the current states of the stack and queue, allowing users to see the songs in the stack and the playlist queue.

Installation Guide

Prerequisites

  • Windows OS

Steps

  1. Download the Released Version:

    • Go to the Release page of the repository.
    • Download the latest release zip file.
  2. Extract the Zip File:

    • Extract the contents of the zip file to a desired location on your computer.
  3. Run the Application:

    • Navigate to the extracted folder.
    • Double-click on the executable file CP103_Semi-Finals_Project.exe to run the application.

Development Setup

If you want to build the project from source, follow these steps:

Prerequisites

  • Qt 6.0 or higher
  • C++17 compatible compiler

Steps

  1. Clone the Repository:
    git clone https://github.com/lucifron28/CP103-Semi-Finals-Project-NPMusic.git
    cd CP103-Semi-Finals-Project-NPMusic

cp 2. Open the Project in Qt Creator:

  • Launch Qt Creator.
  • Open the project by selecting the .pro file in the cloned repository.
  1. Configure the Project:

    • Ensure that the correct Qt version and compiler are selected.
    • Configure the build settings as needed.
  2. Build the Project:

    • Click on the "Build" button or press Ctrl+B to build the project.
  3. Run the Project:

    • Click on the "Run" button or press Ctrl+R to run the application.

Usage

  • Add Songs to Queue: Double-click on a song in the list to add it to the queue.
  • Play Next Song in Queue: Click the "Play" button to play the next song in the queue.
  • View Recently Played Songs: The history tab shows the list of recently played songs.

About

This is a GUI music app for my Data Structures and Algorithms class project. It uses a queue to manage the song playlist and a stack to track listening history, demonstrating the practical application of stack and queue data structures in a music-themed interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •