Type Alias

AVMusicTimeStamp

A fractional number of beats.

Declaration

typealias AVMusicTimeStamp = Float64

Discussion

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.