Instance Method


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


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.