TrackAudioAnalysis class

JSON representation of the track analysis summary

Annotations
  • @JsonSerializable()

Constructors

TrackAudioAnalysis()
TrackAudioAnalysis.fromJson(Map<String, dynamic> json)
factory

Properties

analysisChannels int?
getter/setter pair
analysisSampleRate int?
The sample rate used to decode and analyze this track.
getter/setter pair
codeString String?
An Echo Nest Musical Fingerprint (ENMFP) codestring for this track.
getter/setter pair
codeVersion double?
A version number for the Echo Nest Musical Fingerprint format used in the codeString field.
getter/setter pair
confidence double?
The confidence, from 0.0 to 1.0, of the reliability of the section’s “designation”.
getter/setter pairinherited
duration double?
The duration (in seconds) of the section.
getter/setter pairinherited
endOfFadeIn double?
The time, in seconds, at which the track's fade-in period ends. If the track has no fade-in, this will be 0.0.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
key int?
The estimated overall key of the section. The values in this field ranging from 0 to 11mapping 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`.
getter/setter pairinherited
keyConfidence double?
The confidence, from 0.0 to 1.0, of the reliability of the key. Songs with many key changes may correspond to low values in this field.
getter/setter pairinherited
loudness double?
The overall loudness of the section in decibels (dB). Loudness values are useful for comparing relative loudness of sections within tracks.
getter/setter pairinherited
mode int?
Indicates the modality (major or minor) of a track, the type of scale from which its melodic content is derived. This field will contain a 0 for “minor”, a 1 for “major”, or a -1 for no result. Note that the major key (e.g. C major) could more likely be confused with the minor key at 3 semitones lower (e.g. A minor) as both keys carry the same pitches.
getter/setter pairinherited
modeConfidence double?
The confidence, from 0.0 to 1.0, of the reliability of the mode.
getter/setter pairinherited
numSamples int?
The exact number of audio samples analyzed from this track. See also analysisSampleRate.
getter/setter pair
rhythmString String?
A Rhythmstring for this track. The format of this string is similar to the synchString.
getter/setter pair
rhythmVersion double?
A version number for the Rhythmstring used in the rhythmString field.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startOfFadeOut double?
getter/setter pair
synchString String?
getter/setter pair
synchVersion double?
A version number for the Synchstring used in the synchstring field.
getter/setter pair
tempo double?
The overall estimated tempo of the section 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.
getter/setter pairinherited
tempoConfidence double?
The confidence, from 0.0 to 1.0, of the reliability of the tempo. Some tracks contain tempo changes or sounds which don’t contain tempo (like pure speech) which would correspond to a low value in this field.
getter/setter pairinherited
timeSignature int?
An estimated overall time signature of a track. 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”.
getter/setter pairinherited
timeSignatureConfidence double?
The confidence, from 0.0 to 1.0, of the reliability of the timeSignature. Sections with time signature changes may correspond to low values in this field.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited