beatsPerMinute
TypeScriptget beatsPerMinute(): (number) | nullSwift declarationlet beatsPerMinute: Float?The tempo of the song in beats per minute. This value may be nil until enough audio has been analyzed.
struct · iOS 27.0+ · SDK 27.1
struct RhythmResultA structure that describes the rhythm of analyzed audio.
get beatsPerMinute(): (number) | nullSwift declarationlet beatsPerMinute: Float?The tempo of the song in beats per minute. This value may be nil until enough audio has been analyzed.
get bars(): Array<_CoreMedia_CMTime>Swift declarationlet bars: [CMTime]The start time of each bar. A bar is a musical unit typically containing several beats.
get beats(): Array<_CoreMedia_CMTime>Swift declarationlet beats: [CMTime]The timestamp of each detected beat.
No declarations were skipped in this snapshot.