One Logo Pool Ball
MusicUnderstanding · IOS API REFERENCE

RhythmResult

struct · iOS 27.0+ · SDK 27.1

struct RhythmResult

A structure that describes the rhythm of analyzed audio.

Members (3)

get · iOS 27.0+

beatsPerMinute

TypeScript
get beatsPerMinute(): (number) | null
Swift declaration
let beatsPerMinute: Float?

The tempo of the song in beats per minute. This value may be nil until enough audio has been analyzed.

get · iOS 27.0+

bars

TypeScript
get bars(): Array<_CoreMedia_CMTime>
Swift declaration
let bars: [CMTime]

The start time of each bar. A bar is a musical unit typically containing several beats.

get · iOS 27.0+

beats

TypeScript
get beats(): Array<_CoreMedia_CMTime>
Swift declaration
let beats: [CMTime]

The timestamp of each detected beat.

Skipped declarations

No declarations were skipped in this snapshot.

All MusicUnderstanding types →