<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributeScopes/SpeechAttributes",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation15AttributeScopesO6SpeechE0D10AttributesV"
  },
  "title" : "AttributeScopes.SpeechAttributes"
}
-->

# AttributeScopes.SpeechAttributes

```
struct SpeechAttributes
```

## Topics

### Structures

[`struct ConfidenceAttribute`](/documentation/Foundation/AttributeScopes/SpeechAttributes/ConfidenceAttribute)

A confidence level (0–1) of the associated transcription text.

[`struct TimeRangeAttribute`](/documentation/Foundation/AttributeScopes/SpeechAttributes/TimeRangeAttribute)

The time range in the source audio corresponding to the associated transcription text.

### Instance Properties

[`let audioTimeRange: AttributeScopes.SpeechAttributes.TimeRangeAttribute`](/documentation/Foundation/AttributeScopes/SpeechAttributes/audioTimeRange)

[`let transcriptionConfidence: AttributeScopes.SpeechAttributes.ConfidenceAttribute`](/documentation/Foundation/AttributeScopes/SpeechAttributes/transcriptionConfidence)

## Relationships

### Conforms To

[`DecodingConfigurationProviding`](/documentation/Foundation/DecodingConfigurationProviding)

[`EncodingConfigurationProviding`](/documentation/Foundation/EncodingConfigurationProviding)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`AttributeScope`](/documentation/Foundation/AttributeScope)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)