One Logo Pool Ball
MusicUnderstanding · IOS API REFERENCE

KeyResult

struct · iOS 27.0+ · SDK 27.1

struct KeyResult

A value describing the musical key detected over a time range. A key is the central note that organizes a piece of music. The tonic can be any of the supported enharmonic spellings: A, A♭, A♯, B♭, B, C, C♯, D♭, D, D♯, E♭, E, F, F♯, G, G♭, G♯. Enharmonic equivalents are represented as distinct cases to preserve the original spelling. A musical key defined by a tonic note and a mode.

Members (1)

get · iOS 27.0+

ranges

TypeScript
get ranges(): Array<MusicUnderstandingSession_RangedValue<KeyResult_KeySignature>>
Swift declaration
let ranges: [MusicUnderstandingSession.RangedValue<KeyResult.KeySignature>]

The detected key for each time range.

Skipped declarations

No declarations were skipped in this snapshot.

All MusicUnderstanding types →