🎧 A Java Swing-based Music Sharing & Audio Player application with login UI, music selection, WAV playback support, sharing list, and dynamic volume control. Features include file chooser, album art preview, sound visualizer, volume slider, and a clean modern interface. Built using Java Swing & Java Sound API. 🎵 Java Music Sharing & Audio Player
🎵 Java Music Sharing & Audio Player
A modern Java Swing-based Music Player + Sharing Platform that allows users to:
✔ Select music ✔ Share music in a playlist ✔ Play WAV audio files ✔ Control volume ✔ Pause playback ✔ Enjoy a built-in animated visualizer
📌 How It Works
Login Page: User enters a username and clicks "Login".
Home Page:
Click "Select Song" to choose a WAV file.
Click "Play" to start playing the song.
Use "Pause" to stop playback temporarily.
Adjust the volume using the slider.
Click "Share" to add the song to the shared song list.
🚀 Features 🔐 Login Page
Simple login screen
User must enter a username to continue
🏠 Home Dashboard
Beautiful GUI built using Java Swing
Album art preview
Animated visualizer
Volume slider
Shared songs list
🎶 Music Functionality
Select songs from system
Share songs (added to the playlist list)
Play WAV audio using Java Sound API
Pause music
Smooth volume control (0–100%)
📜 Code Overview Key Files
music_player.java – Main application
Contains:
Login page
Home page
Music player
Volume controller
WAV playback
⚡ Notes
The application only supports WAV audio files.
Volume adjustment works only while a song is playing.
The shared song list only persists during the runtime of the application (no database or file storage implemented).