| compmus_c_transpose | R Documentation |
Given a key estimate, transpose chroma vectors back to C.
compmus_c_transpose(dat, key)
dat |
Data frame with a |
key |
Character string naming the global or local tonal centre. |
library(tidyverse)
spotifyr::get_playlist_audio_features("", "37i9dQZF1DWWEcRhUVtL8n") %>%
slice(1:20) %>%
add_audio_analysis() %>%
mutate(segments = map2(segments, key, compmus_c_transpose))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.