kSequenceTrackProperty_TimeResolution
The time resolution for a sequence of music events. For example, this value can indicate the time resolution that was specified by the MIDI file used to construct a sequence.
Declaration
var kSequenceTrackProperty_TimeResolution: UInt32 { get }Discussion
To use a specific time resolution when writing a new file, retrieve this value and then specify it when calling the MusicSequenceFileCreate(_:_:_:_:_:) function.
This value does not directly determine playback rate for a music track, but rather it
kSequenceTrackProperty_TimeResolution is set in two possible ways:
If you create a music sequence programmatically, the value is set to 480.
If you create a music sequence from a MIDI file, the value is set to the time resolution specified in the MIDI file.
A read-only SInt16 value that is valid only for a tempo track.