Instance Method

seconds(forBeats:)

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

Declaration

func seconds(forBeats beats: AVMusicTimeStamp) -> TimeInterval

See Also

Managing Time Stamps

typealias AVMusicTimeStamp

A fractional number of beats.

func hostTime(forBeats: AVMusicTimeStamp, error: NSErrorPointer) -> UInt64

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