---
title: MusicUnderstandingSession.TimedValue
framework: musicunderstanding
role: symbol
role_heading: Structure
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: musicunderstanding/musicunderstandingsession/timedvalue
---

# MusicUnderstandingSession.TimedValue

A structure that pairs a value with a time.

## Declaration

```swift
struct TimedValue<Value> where Value : Decodable, Value : Encodable, Value : Equatable, Value : Sendable
```

## Overview

Overview The TimedValue pairs a value with a CMTime point — a measurement at a specific instant, as opposed to a span. Contrast: properties that hold constant over a span (key, pace) use RangedValue with a CMTimeRange; instantaneous measurements use TimedValue with a CMTime.

## Topics

### Getting the time

- [time](musicunderstanding/musicunderstandingsession/timedvalue/time.md)

### Getting the value

- [value](musicunderstanding/musicunderstandingsession/timedvalue/value.md)

### Initializers

- [init(from:)](musicunderstanding/musicunderstandingsession/timedvalue/init(from:).md)

### Instance Methods

- [encode(to:)](musicunderstanding/musicunderstandingsession/timedvalue/encode(to:).md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Support types

- [MusicUnderstandingSession.RangedValue](musicunderstanding/musicunderstandingsession/rangedvalue.md)
- [AnalysisType](musicunderstanding/analysistype.md)
