IModelObjectpublic class AudioFeatures extends AbstractModelObject
| Modifier and Type | Class | Description |
|---|---|---|
static class |
AudioFeatures.Builder |
Builder class for building
AudioFeatures instances. |
static class |
AudioFeatures.JsonUtil |
JsonUtil class for building
AudioFeatures instances. |
IModelObject.IJsonUtil<T>| Modifier and Type | Method | Description |
|---|---|---|
AudioFeatures.Builder |
builder() |
Create a builder for building an instance of a model object.
|
Float |
getAcousticness() |
Get the acousticness of the track as a value between 0.0 and 1.0.
|
String |
getAnalysisUrl() |
Get the Spotify Web API endpoint URL for a full audio analysis.
|
Float |
getDanceability() |
Get the danceability of the track as a value between 0.0 and 1.0.
|
Integer |
getDurationMs() |
Get the duration of the track in milliseconds.
|
Float |
getEnergy() |
Get the energy of the track as a value between 0.0 and 1.0.
The energetic value of the track depends on factors like speed and loudness. |
String |
getId() |
Get the Spotify ID
of the track.
|
Float |
getInstrumentalness() |
Get the instrumentalness of the track as a value between 0.0 and 1.0.
|
Integer |
getKey() |
Get the main key of the track.
|
Float |
getLiveness() |
Get the liveness of the track as a value between 0.0 and 1.0.
The liveness depends on ambient sounds like the presence of an audience. |
Float |
getLoudness() |
Get the average loudness of the track.
|
Modality |
getMode() |
Get the modality of the track.
|
Float |
getSpeechiness() |
Get the speechiness of the track as a value between 0.0 and 1.0.
|
Float |
getTempo() |
Get the estimated tempo of the track in beats per minute.
|
Integer |
getTimeSignature() |
Get the estimated overall time signature of the track.
|
String |
getTrackHref() |
Get the Spotify Web API endpoint URL of the track.
|
ModelObjectType |
getType() |
Get the model object type.
|
String |
getUri() |
Get the Spotify URI
of the track.
|
Float |
getValence() |
Get the valence of the track as a value between 0.0 and 1.0.
A track with a high valence sounds more positive (happy, cheerful, euphoric) like the track with a low valence. |
public Float getAcousticness()
public String getAnalysisUrl()
AudioAnalysispublic Float getDanceability()
public Integer getDurationMs()
public Float getEnergy()
public String getId()
public Float getInstrumentalness()
getSpeechiness()public Integer getKey()
public Float getLiveness()
public Float getLoudness()
public Modality getMode()
Modality type.public Float getSpeechiness()
getInstrumentalness()public Float getTempo()
public Integer getTimeSignature()
public String getTrackHref()
public ModelObjectType getType()
ModelObjectType.public String getUri()
public Float getValence()
public AudioFeatures.Builder builder()
IModelObjectCopyright © 2019. All rights reserved.