A react music player project I built and took inspiration from spotify. Has all the functionality of a music player with additional features to make it unique.
Web app: Demo
- Basic music player functionalities (Play, skip, volume, shuffle etc.. )
- Library of music track you add
- Lyrics/karaoke mode - If lrc file (lyrics file format) is provided with a music track
- Adjust Playback speed ranging from 2x to 0.25x speed
- Default album cover is used if music track has no image cover
- Responsive audio timeframe slider (synced with lyrics)
-
To add music track, song cover and lyrics, go to
publc/folder and them topublc/songs,publc/songs_imagesandpublc/songs_lrcrespectively. -
Go to
data.jsinsrc/folder and add an object in thesongListfunction detailing the music track, cover image and lyrics file you added:id- unique id but its optionaltitle- music track titlecover- album cover source pathsrc- audio file source pathartist- artist namelyrics- .lrc file format source path
Object template:
{ id: "[...]", title: "[...]", artist: "[...]", src: "./songs/[...].mp3", cover:"./songs_images/[...].jpg", lyrics: "./songs_lrc/[...].lrc", },
