AudioFeatures
extends Omit<TuneableTrack, "popularity">
An object containing all the features of the audio.
Properties:
Name | Type | Description |
---|---|---|
acousticness | number | A confidence measure from 0.0 to 1.0 of whether the track is acoustic. 1.0 represents high confidence the track is acoustic. |
analysis_url | string | An HTTP URL to access the full audio analysis of this track. An access token is required to access this data. |
danceability | number | Danceability describes how suitable a track is for dancing based on a combination of musical elements including tempo, rhythm stability, beat strength, and overall regularity. A value of 0.0 is least danceable and 1.0 is most danceable. |
duration_ms | number | The duration of the track in milliseconds. |
energy | number | Energy is a measure from 0.0 to 1.0 and represents a perceptual measure of intensity and activity. |
id | string | The Spotify ID of the track. |
instrumentalness | number | Predicts whether a track contains no vocals. “Ooh” and “aah” sounds are treated as instrumental in this context. Rap or spoken word tracks are clearly “vocal”. |
key | number | The key the track is in. Integers map to pitches using standard Pitch Class notation. |
liveness | number | Detects the presence of an audience in the recording. Higher liveness values represent an increased probability that the track was performed live. |
loudness | number | The overall loudness of a track in decibels (dB). |
mode | number | Mode indicates the modality (major or minor) of a track, the type of scale from which its melodic content is derived. Major is represented by 1 and minor is 0. |
speechiness | number | Speechiness detects the presence of spoken words in a track. |
tempo | number | The overall estimated tempo of a track in beats per minute (BPM). |
time_signature | number | An estimated overall time signature of a track. |
track_href | string | A link to the Web API endpoint providing full details of the track. |
type | string | The object type: “audio_features” |
uri | string | The Spotify URI for the track. |
valence | number | A measure from 0.0 to 1.0 describing the musical positiveness conveyed by a track. |