IModelObjectpublic class AudioAnalysisTrack extends AbstractModelObject
| Modifier and Type | Class | Description |
|---|---|---|
static class |
AudioAnalysisTrack.Builder |
Builder class for building
AudioAnalysisTrack instances. |
static class |
AudioAnalysisTrack.JsonUtil |
JsonUtil class for building
AudioAnalysisTrack instances. |
IModelObject.IJsonUtil<T>| Modifier and Type | Method | Description |
|---|---|---|
AudioAnalysisTrack.Builder |
builder() |
Create a builder for building an instance of a model object.
|
Integer |
getAnalysisChannels() |
Get the analysis channels.
|
Long |
getAnalysisSampleRate() |
Get the sample rate in which the audio analysis was performed.
|
String |
getCodeString() |
Get the code string of the track.
|
Float |
getCodeVersion() |
Get the version of the code string.
|
Float |
getDuration() |
Get the duration of the track in seconds.
|
String |
getEchoprintString() |
Get the echoprint string of the track.
|
Float |
getEchoprintVersion() |
Get the version of the echoprint string.
|
Float |
getEndOfFadeIn() |
Get the end of fade in introduction of the track.
|
Integer |
getKey() |
Get the estimated main key of the track.
|
Float |
getKeyConfidence() |
Get the key confidence of the track.
|
Float |
getLoudness() |
Get the average loudness of the track in decibels.
|
Modality |
getMode() |
Get the modality of the track.
|
Float |
getModeConfidence() |
Get the modality confidence of the track.
|
Long |
getNumSamples() |
Get the number of samples in the track.
|
Integer |
getOffsetSeconds() |
Get the offset seconds.
|
String |
getRhythmString() |
Get the rhythm string of the track.
|
Float |
getRhythmVersion() |
Get the version of the rhythm string.
|
String |
getSampleMd5() |
Get the sample MD5.
|
Float |
getStartOfFadeOut() |
Get the start of the fade out in seconds.
|
String |
getSynchString() |
Get the synch string of the track.
|
Float |
getSynchVersion() |
Get the version of the synch string.
|
Float |
getTempo() |
Get the estimated tempo of the track in beats per minute.
|
Float |
getTempoConfidence() |
Get the tempo confidence of the track.
|
Integer |
getTimeSignature() |
Get the estimated overall time signature of the track.
|
Float |
getTimeSignatureConfidence() |
Get the time signature confidence of the track.
|
Integer |
getWindowSeconds() |
Get the window seconds.
|
public Long getNumSamples()
public Float getDuration()
public String getSampleMd5()
Note: The sample MD5 is probably the MD5 of the track file. In the documentaion of the Analyzer
software, this field is mentioned in an example and contains a value, but it seems that audio analysis objects
returned by the Spotify Web API doesn't include a value in the field anymore.
public Integer getOffsetSeconds()
public Integer getWindowSeconds()
public Long getAnalysisSampleRate()
public Integer getAnalysisChannels()
public Float getEndOfFadeIn()
public Float getStartOfFadeOut()
public Float getLoudness()
public Float getTempo()
public Float getTempoConfidence()
public Integer getTimeSignature()
public Float getTimeSignatureConfidence()
public Integer getKey()
public Float getKeyConfidence()
public Modality getMode()
public Float getModeConfidence()
public String getCodeString()
Note: The code string is a fingerprint computed on the audio and were used by the Echo Nest services for song identification, which are no longer available.
public Float getCodeVersion()
public String getEchoprintString()
Note: The echoprint string is a fingerprint computed on the audio and were used by the Echo Nest services for song identification, which are no longer available.
public Float getEchoprintVersion()
public String getSynchString()
It works with a simple synchronization algorithm to be implemented on the client side, which generates offset values in numbers of samples for 3 locations in the decoded waveform, the beginning, the middle, and the end. These offsets allow the client application to detect decoding errors (when offsets mismatch). They provide for synching with sample accuracy, the JSON timing data with the waveform, regardless of which mp3 decoder was used on the client side (quicktime, ffmpeg, mpg123, etc).
public Float getSynchVersion()
public String getRhythmString()
public Float getRhythmVersion()
public AudioAnalysisTrack.Builder builder()
IModelObjectCopyright © 2019. All rights reserved.