Class AudioAnalysisTrack
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe number of channels used for analysis.intThe sample rate used to decode and analyze this track.An Echo Nest Musical Fingerprint (ENMFP) codestring for this track.floatA version number for the Echo Nest Musical Fingerprint format used in the codestring field.floatLength of the track in seconds.An EchoPrint codestring for this track.floatA version number for the EchoPrint format used in the echoprintstring field.floatThe time, in seconds, at which the track's fade-in period ends.intThe key the track is in.floatThe confidence, from 0.0 to 1.0, of the reliability of thekey.floatThe overall loudness of a track in decibels (dB).intMode indicates the modality (major or minor) of a track, the type of scale from which its melodic content is derived.floatThe confidence, from 0.0 to 1.0, of the reliability of themode.intThe exact number of audio samples analyzed from this track.intAn offset to the start of the region of the track that was analyzed.A Rhythmstring for this track.floatA version number for the Rhythmstring used in the rhythmstring field.This field will always contain the empty string.floatThe time, in seconds, at which the track's fade-out period starts.A Synchstring for this track.floatA version number for the Synchstring used in the synchstring field.floatThe overall estimated tempo of a track in beats per minute (BPM).floatThe confidence, from 0.0 to 1.0, of the reliability of thetempo.intAn estimated time signature.floatThe confidence, from 0.0 to 1.0, of the reliability of thetime_signature.intThe length of the region of the track was analyzed, if a subset of the track was analyzed. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
analysisChannels
public int analysisChannelsThe number of channels used for analysis. If 1, all channels are summed together to mono before analysis.
-
analysisSampleRate
public int analysisSampleRateThe sample rate used to decode and analyze this track. May differ from the actual sample rate of this track available on Spotify.
-
codeVersion
public float codeVersionA version number for the Echo Nest Musical Fingerprint format used in the codestring field.
-
codestring
An Echo Nest Musical Fingerprint (ENMFP) codestring for this track.
-
duration
public float durationLength of the track in seconds.
-
echoprintVersion
public float echoprintVersionA version number for the EchoPrint format used in the echoprintstring field.
-
echoprintstring
An EchoPrint codestring for this track.
-
endOfFadeIn
public float endOfFadeInThe time, in seconds, at which the track's fade-in period ends. If the track has no fade-in, this will be 0.0.
-
key
public int keyThe key the track is in. Integers map to pitches using standard Pitch Class notation. E.g. 0 = C, 1 = C♯/D♭, 2 = D, and so on. If no key was detected, the value is -1.
-
keyConfidence
public float keyConfidenceThe confidence, from 0.0 to 1.0, of the reliability of the
key. -
loudness
public float loudnessThe overall loudness of a track in decibels (dB). Loudness values are averaged across the entire track and are useful for comparing relative loudness of tracks. Loudness is the quality of a sound that is the primary psychological correlate of physical strength (amplitude). Values typically range between -60 and 0 db.
-
mode
public int modeMode 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.
-
modeConfidence
public float modeConfidenceThe confidence, from 0.0 to 1.0, of the reliability of the
mode. -
numSamples
public int numSamplesThe exact number of audio samples analyzed from this track. See also
analysis_sample_rate. -
offsetSeconds
public int offsetSecondsAn offset to the start of the region of the track that was analyzed. (As the entire track is analyzed, this should always be 0.)
-
rhythmVersion
public float rhythmVersionA version number for the Rhythmstring used in the rhythmstring field.
-
rhythmstring
A Rhythmstring for this track. The format of this string is similar to the Synchstring.
-
sampleMd5
This field will always contain the empty string.
-
startOfFadeOut
public float startOfFadeOutThe time, in seconds, at which the track's fade-out period starts. If the track has no fade-out, this should match the track's length.
-
synchVersion
public float synchVersionA version number for the Synchstring used in the synchstring field.
-
synchstring
A Synchstring for this track.
-
tempo
public float tempoThe overall estimated tempo of a track in beats per minute (BPM). In musical terminology, tempo is the speed or pace of a given piece and derives directly from the average beat duration.
-
tempoConfidence
public float tempoConfidenceThe confidence, from 0.0 to 1.0, of the reliability of the
tempo. -
timeSignature
public int timeSignatureAn estimated time signature. The time signature (meter) is a notational convention to specify how many beats are in each bar (or measure). The time signature ranges from 3 to 7 indicating time signatures of "3/4", to "7/4".
-
timeSignatureConfidence
public float timeSignatureConfidenceThe confidence, from 0.0 to 1.0, of the reliability of the
time_signature. -
windowSeconds
public int windowSecondsThe length of the region of the track was analyzed, if a subset of the track was analyzed. (As the entire track is analyzed, this should always be 0.)
-
-
Constructor Details
-
AudioAnalysisTrack
public AudioAnalysisTrack()
-