Skip to content

Using the genius API, this function will extract the refrain of your favorite song and visualize the parts that repeat themselves the most in a network diagram.

jmperafan/musigram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Musigram

Creating a network diagram with the refrain of your favorite songs

By Juan Manuel Perafan

This function receives two arguments, the title of a song and the artist. Behind the scenes, this function uses the genius API. Therefore, it is imperative that the song and the artist match identically with the name it is written by genius.

Based on lyrics of the song, the function will extract the refrain (sometimes known as hook or chorus) and visualize the parts that repeat themselves the most in a network diagram.

How to use this function? musigram(artist = "Daddy Yankee", song = "Gasolina")

Dependacies:

  • Tidyverse
  • Genius
  • Ggraph
  • Igraph

About

Using the genius API, this function will extract the refrain of your favorite song and visualize the parts that repeat themselves the most in a network diagram.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages