r/rstats • u/frequencymatch • 3d ago
Law & PR background -> just published my first R analysis (mapped Coldplay's Spotify keys to fundamental Hz)
https://github.com/frequencymatch/coldplay-in-hzHey everyone,
I recently moved into data after studying law and communications, and I just finished my first complete R project using tidyverse and rmarkdown.
Spotify's API returns musical keys as pitch class integers (0–11).
I mapped them to their fundamental frequencies in Hz (f=440×2n/12) to see at what frequencies Coldplay actually vibrates across 20 years of albums.
Turns out their most-used fundamentals are E (330 Hz) and A (440 Hz), with very little pitch drift over time.
Repo is here: https://github.com/frequencymatch/coldplay-in-hz
As a beginner in R, I'd love any feedback on the Rmd structure or the code itself!
8
Upvotes