Data – Mid point status report(Published late)

At this point, our code is at a point where we can see progress. The front end code has been completed, and we are currently at the testing process for the back end code. With the front end completed, I took the time to go back to the song library and clean it up for any “errors” the computer may find. For example, feelings that was’t on the restricted list, capitalization and any special characters(such as dashes). This cleaned version of the song library was sent out to students who personally requested it from me. What we plan on doing next is cleaning the front end code, and then complete our back end code. Furthermore, we’ll need to insert comments where necessary.

Advertisements

Data – Deliver

 

In order to check for mistakes within our code, we decided to revise each other’s codes before working on our final iterations. Viridiana checking on my front end, and me checking on the back. For both the front and back end, a number of hard to spot variable mistakes were found, which prevented the codes from running. Our goal was to also complete the final iteration of the back end together in order to ensure that it was working.

This slideshow requires JavaScript.

Data – Develop

Front End Versions

Version 1(Name + Introduction)

w

Version 2

  • Add check for restricted strings and integers for Genre, bass, tempo, lyrics and Feeling,
  • Includes half of the elements
  • Included append, which holds the user’s answers

sdsd

Version 3

  • Completed the other half of the elements

sdsdsd

  • Added the feelings element
  • Included results(the answers the user gives is written out in the end)

sdsdsdsd

Back end Versions(incomplete)

Version 1

s

Version 2ss

Version 3sss

Version 4sssssssss

Data – Design Phase

Eddieuamaker(Front end) and viridiana00(Back end)

Front End – User is asked a number of questions in order to find out what kind of music interests them(i.e Genre, temp, lyrics, bass, etc)

Back end – Through the answers the user gives in the front end, a song is recommended to them.

Front end Flow chart

IMG_0438

Back End Pseudo Code

Pseudo code

  1. Create individual empty lists for all variables of user inputs found in front end code.
  2. Check if user genre input matches any song’s genre in library
    1. If only one match, print the title and performer of song
    2. If more than one, place all matches into the empty list specific to genre matches
    3. If no matches, then continue to check the user’s sub genre input
  3. Check if user sub-genre input matches any song’s sub genre in the library
    1. If one match, print the title and performer of song
    2. If more than one, place all matches into the empty list specific to sub genre matches
    3. If no matches, then continue to the check the user’s prinstrument input
  4. Check if user’s prinstrument input matches any song’s prinstrument in the library
    1. If one match, print the title and performer of song
    2. If more than one, place all matches into the empty list specific to prinstrument matches
    3. If no matches, then continue to check the user’s bass input
  5. Check if user’s bass input matches any song’s bass in the library
    1. If one match, print the title and performer of song
    2. If more than one, place all matches into the empty list specific to bass matches
    3. If no matches, then continue to the user’s tempo input
  6. Check if user’s tempo input matches any song’s tempo in the library
    1. If one match, print the title and performer of song
    2. If more than one, place all matches into the empty list specific to tempo matches
    3. If no matches, then continue to check the user’s lyric input
  7. Check if user’s lyric input matches any song’s lyric value in the library
    1. If one match, print the title and performer of song
    2. If more than one, place all matches into the empty list specific to lyric matches
    3. If no matches, then continue to check the user’s feeling input
  8. Check if user’s feeling input matches any song’s feeling value in the library
    1. If one match, print the title and performer of song
    2. If more than one, randomly select an individual song using a random generator
    3. If no matches, then tell user there was no matches and code must be run again

A Song in Data: Define

Elements:

  • Genre – The category a song is placed under.(Restricted)
    • blues
    • classical
    • country
    • electronic
    • folk
    • hip hop
    • jazz
    • latin
    • pop
    • reggae
    • religious
    • rock
    • RnB
    • World
    • Other_______________
  • Sub Genre – A categorization under genre that further explains what the song is categorized as. Unrestricted String
  • Title of Song – The official name of the song. Unrestricted String
  • Performer – The person who sings the song. Unrestricted String
  • Bass – The lows of a song, which is usually heard through drums. INT 0-10(Strength of Bass)
  • Tempo – The speed of the song. INT 0-10
  • Prinstrument – The primary instrument in a song. Unrestricted String
  • Lyrics – The words that are spoken in a song. INT 0-10(Importance of lyrics)
  • Feeling – The mood you feel towards a song.(Restricted)
    • Joyful
    • sad
    • romantic
    • angry
    • chill
    • motivating
    • compassion
    • humorous
    • enlightening
    • confused
    • passionate
    • regret
    • grace
title performer genre subgenre prInstr lyrics bass tempo feeling
I Can’t Help Myself Uncle Reece, Jor’Dan Armstrong religious gospel trap drum machine 8 7 8 grace
Dat $tick Rich Chigga hip hop rap drum machine 7 7 7 hype
Feint Clockwork Hearts electronic drum and bass saxophone 0 9 8 joy
Crawling Linkin Park rock punk guitar 9 6 3 angry
Take Flight Lindsey Stirling pop dance violin 0 7 9 motivational

Data: Discover

There are many reasons as to why people like certain music. It’s all subjective, but there is a general idea on what a lot of people look for in music. For example, a person may enjoy listening to Dat $tick by Rich Chigga because they may like rap music, or they may like the performer in general.