<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MusicUnderstanding",
  "identifier" : "/documentation/MusicUnderstanding/StructureResult",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Music Understanding"
    ],
    "preciseIdentifier" : "s:18MusicUnderstanding15StructureResultV"
  },
  "title" : "StructureResult"
}
-->

# StructureResult

A song’s structural boundary information, including sections, segments, and phrases.

```
struct StructureResult
```

## Overview

The `StructureResult` describes a song’s structure in terms of sections, segments and phrases. A section corresponds to a distinct part of a song, such as an intro, verse, or chorus. A section consists of one or more segments, and each segment consists of one or more phrases.

## Topics

### Instance Properties

[`let phrases: [CMTimeRange]`](/documentation/MusicUnderstanding/StructureResult/phrases)

The time range of each phrase in the song.

[`let sections: [CMTimeRange]`](/documentation/MusicUnderstanding/StructureResult/sections)

The time ranges of each section in the song.

[`let segments: [CMTimeRange]`](/documentation/MusicUnderstanding/StructureResult/segments)

The time range of each segment in the song.

## Relationships

### Conforms To

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

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

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

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

---

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)