CodingTrain / CodingTrain/Suggestion-Box

Visualizing songs with self similarity matrices (Quick & Easy)

Open
#1,213 2 comments 1 reaction 0 assignees View on GitHub
Challenge
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/37326143/52523883-c7c7fe00-2c96-11e9-90ff-837a34a2a8d5.png)

I discovered a way of representing repetitions in music by analysing the lyrics and creating a self similarity matrix. I saw this technique on YouTube, in a Ted Talk video entitled ["Pop Music is Stuck on Repeat | Colin Morris | TEDxPenn"](https://www.youtube.com/watch?v=_tjFwcmHy5M).

This could make a very beginner friendly coding challenge ;) Here's [my code](https://editor.p5js.org/lo.bertrand/sketches/v7eG6fGtX) on the p5 web editor, with the lyrics of the Coding Train Song :)

Here's an [interactive demo](https://editor.p5js.org/lo.bertrand/present/py8NjtVHD) ;)

We could also use the Levenshtein distance between words and color the cells by mapping the score to HSB colors ^^

![image](https://user-images.githubusercontent.com/37326143/52523931-72d8b780-2c97-11e9-9095-b26a0b653422.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.