Scientists Analyze the Moods of 90,000 Songs Based on Music and Lyrics

iStock
iStock | iStock

Based on the first few seconds of a song, the part before the vocalist starts singing, you can judge whether the lyrics are more likely to detail a night of partying or a devastating breakup. The fact that musical structures can evoke certain emotions just as strongly as words can isn't a secret. But scientists now have a better idea of which language gets paired with which chords, according to their paper published in Royal Society Open Science.

For their study, researchers from Indiana University downloaded 90,000 songs from Ultimate Guitar, a site that allows users to upload the lyrics and chords from popular songs for musicians to reference. Next, they pulled data from labMT, which crowd-sources the emotional valence (positive and negative connotations) of words. They referred to the music recognition site Gracenote to determine where and when each song was produced.

Their new method for analyzing the relationship between music and lyrics confirmed long-held knowledge: that minor chords are associated with sad feelings and major chords with happy ones. Words with a negative valence, like "pain," "die," and "lost," are all more likely to fall on the minor side of the spectrum.

But outside of major chords, the researchers found that high-valence words tend to show up in a surprising place: seventh chords. These chords contain four notes at a time and can be played in both the major and minor keys. The lyrics associated with these chords are positive all around, but their mood varies slightly depending on the type of seventh. Dominant seventh chords, for example, are often paired with terms of endearment, like "baby", or "sweet." With minor seventh chords, the words "life" and "god" are overrepresented.

Using their data, the researchers also looked at how lyric and chord valence differs between genres, regions, and eras. Sixties rock ranks highest in terms of positivity while punk and metal occupy the bottom slots. As for geography, Scandinavia (think Norwegian death metal) produces the dreariest music while songs from Asia (like K-Pop) are the happiest. So if you're looking for a song to boost your mood, we suggest digging up some Asian rock music from the 1960s, and make sure it's heavy on the seventh chords.