timeRange
The time span that corresponds to the result’s classifications.
Declaration
var timeRange: CMTimeRange { get }Discussion
The time range’s CMTime values are the number of audio frames at the analyzer’s sample rate. Use these time indices to determine where, in time, the result corresponds to the original audio.
A result’s time range typically refers to audio older than its most recent audio because the request gathers the data into blocks before sending them to the model.