---
title: segments
framework: musicunderstanding
role: symbol
role_heading: Instance Property
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/structureresult/segments
---

# segments

The time range of each segment in the song.

## Declaration

```swift
let segments: [CMTimeRange]
```

## Discussion

Discussion A segment is a collection of phrases that form a distinct part of a song.
