New Project: A Website That Will Help You Track How Much A Musician Swears

Consider this as Dev Log 0 for a new project I want to work on. This project will help me learn some more advanced features of programming languages and will also allow me to pad my portfolio. This project will be a music library that will enable you to view the lyrics of songs, and it will also keep track of a few bits of stats for each musician. I want to use this post to document some of the issues that I can think of before starting development.

Here are some of the things I want this website to do:

  1. I will be the only one who can upload anything to prevent spam and people trying to break the website.
  2. I want the website to be able to take input from me to add musicians to a database and then be able to add songs to the database and tie them with a musician. The songs that are added should have all their words counted, and preferably it will calculate the use of each word separately. This way, people can go to the website and see a list of their favorite musician’s songs and all the words that musician has used.
  3. The website will have a relative score that grades them on a swear index.

The first problem that I see is anything legal related. I am not very well versed in the copyright laws surrounding music, and I don’t want to cause any problems. I’m pretty sure just listing the songs is not against any copyright law and neither is having their lyrics written. This should be an easy problem to get past as it should just require a small amount of research.

The next issue I’ve been thinking of is that I currently don’t know how to get the system to 1. count the words in a song, 2. count the number of times each word appears in the song. I think counting the words should be easy. Maybe even just count the number of spaces and add 1? Getting the system to count the number of times each word appears is something I’m really not sure how I’m going to do. I think it will have to involve some complicated processes involving arrays, but I’m not entirely sure. For those wondering, I would be using PHP to do all of the backend work.

Before starting development, the final problem that I can think of right now is the relative score based on the swear index. If you wonder what I mean by that, let’s say the highest swear count of an artist is 8,574 times throughout their period of creating music, and someone else swears 0 times. The person who never swore would have a Swear Index of 0, and the 8,574 swears would have a Swear Index of 100. This would mean someone with a Swear Index of 50 would have sworn 4,287 times as that’s halfway to the maximum. I’d also like to include the number of songs released or the amount of time active in the Swear Index calculation.

These are most of the problems that I can think of right now, but I know there are definitely more. I don’t know when my first stage of development will begin, but I’d kind of like to start soon as I’ve had this idea for a while now. But that’s going to conclude this Dev Log for today. Thanks for reading, and I hope to see you again tomorrow.

Leave a Reply

Your email address will not be published.