Type Alias


A fractional number of beats.


typealias AVMusicTimeStamp = Float64


This value is used for all sequencer timeline-related methods. The relationship between this value and time (in seconds) is determined by the tempo of the sequence.

See Also

Managing Time Stamps

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

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

func seconds(forBeats: AVMusicTimeStamp) -> TimeInterval

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