This project allows you to play songs through your browser!
First, use the command line to change directory (cd) into the desired directory. You may want to create a new directory for the entire project.
Next, clone this repository into your desired directory with a git clone
command.
In the directory you just cloned, there should be a assets/music
folder. Place whatever song files (.mp3
, .aac
, `.wav, etc.) you want the app to be able to play in there!
Now, to actually have it added as a song you can see in the player, you need to include it in an album. The easiest way to do this is to just go into scripts/Fixtures.js
In the first album variable, in the songs
array, add the information about your newly-added songs.
Note: where it says YOUR_FILE_NAME
, you may need to append the file type (e.g. your_file_name**.mp3**)
Also make sure that if you add more than one song, use a comma to separate each new item in the list. The last item in the array should NOT be followed by a comma.
I could have made this process simpler, but hey! It was my first project!