Instance Method

beats(forSeconds:)

Gets the beat position (timestamp) for the given time in the track.

Declaration

func beats(forSeconds seconds: TimeInterval) -> AVMusicTimeStamp

See Also

Handling Beat Range

func beats(forHostTime: UInt64, error: NSErrorPointer) -> AVMusicTimeStamp

Returns the beat that will be (or was) played at the specified host time.

typealias AVBeatRange

A specific time range within a music track.