KeyV2
Musical key prediction. Provides track-level key detection and segment-level key tags over time, along with confidence scores.
KeyV2KeyV2segments objectrequired
Segment-level key tags.
Start time of each segment in seconds from the beginning of the track.
Possible values: >= 0
Key of each segment, aligned by index with timestampsSeconds.
Possible values: [aMajor, aMinor, bMajor, bMinor, bFlatMajor, bFlatMinor, cMajor, cMinor, dFlatMajor, cSharpMinor, dMajor, dMinor, eFlatMajor, dSharpMinor, eMajor, eMinor, fMajor, fMinor, fSharpMajor, fSharpMinor, gMajor, gMinor, aFlatMajor, gSharpMinor]
Musical keys.
Possible values: [aMajor, aMinor, bMajor, bMinor, bFlatMajor, bFlatMinor, cMajor, cMinor, dFlatMajor, cSharpMinor, dMajor, dMinor, eFlatMajor, dSharpMinor, eMajor, eMinor, fMajor, fMinor, fSharpMajor, fSharpMinor, gMajor, gMinor, aFlatMajor, gSharpMinor]
confidences objectrequired
Confidence of the prediction, as three values between 0.0 and 1.0.
How sure the model is that the prediction is correct.
Possible values: >= 0 and <= 1
How stable the prediction is across segments.
Possible values: >= 0 and <= 1
Overall confidence, the minimum of modelCertainty and
predictionStability. Values above 0.9 indicate the track is
unambiguous and a single global label applies.
Possible values: >= 0 and <= 1
{
"version": "KeyV2",
"segments": {
"timestampsSeconds": [
0
],
"values": [
"aMajor"
]
},
"tag": "aMajor",
"confidences": {
"modelCertainty": 0,
"predictionStability": 0,
"confidence": 0
}
}