| get_reccobeats_audio_features | R Documentation |
Access the Reccobeats API to get audio features for tracks.
get_reccobeats_audio_features(track_id)
track_id |
The Spotify ID for a track. |
get_reccobeats_audio_features() returns a
tibble with track audio features, including:
danceability: Suitability for dancing (0.0 to 1.0). Higher values
indicate more rhythmically engaging tracks.
energy: Intensity and liveliness (0.0 to 1.0). Higher values indicate
more energetic tracks.
loudness: Average loudness in decibels (dB). Typically ranges between
-60 and 0 dB.
speechiness: Presence of spoken words (0.0 to 1.0). Values above 0.66
indicate mostly speech.
acousticness: Confidence (0.0 to 1.0) that the track is acoustic.
Higher values indicate more natural sounds.
instrumentalness: Likelihood of no vocals (0.0 to 1.0). Values above
0.5 suggest instrumental tracks.
liveness: Probability of a live audience (0.0 to 1.0). Values above
0.8 strongly suggest a live track.
valence: Emotional tone (0.0 to 1.0). Higher values indicate a
happier mood, lower values a sadder one.
tempo: Estimated tempo in beats per minute (BPM). Typically ranges
between 0 and 250.
key: The key the track is in. Integers map to pitches using standard
Pitch Class notation. If no key was detected, the value is -1.
mode: Mode indicates the modality (major or minor) of a track.
Major is represented by 1 and minor is 0.
key_name: Corresponds directly to the key, but the integer is
converted to the key name using Pitch Class notation (e.g., 0 becomes
C).
mode_name: Corresponds directly to the mode, but the integer is
converted to the mode name (e.g., 0 becomes minor).
key_mode: A combination of the key_name and mode_name variables
(e.g., C minor).
Other API access:
get_soundstat_audio_features(),
get_spotify_track_info()
# So High School
get_reccobeats_audio_features(track_id = "7Mts0OfPorF4iwOomvfqn1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.