<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/MusicSequenceLoadFlags",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@E@MusicSequenceLoadFlags"
  },
  "title" : "MusicSequenceLoadFlags"
}
-->

# MusicSequenceLoadFlags

Flags used to configure the behavior of the [`MusicSequenceFileLoad(_:_:_:_:)`](/documentation/AudioToolbox/MusicSequenceFileLoad(_:_:_:_:)) and [`MusicSequenceFileLoadData(_:_:_:_:)`](/documentation/AudioToolbox/MusicSequenceFileLoadData(_:_:_:_:)) functions.

```
struct MusicSequenceLoadFlags
```

## Topics

### Constants

[`kMusicSequenceLoadSMF_ChannelsToTracks`](/documentation/AudioToolbox/MusicSequenceLoadFlags/smf_ChannelsToTracks)

If this flag is set the resultant Sequence will contain a tempo track, 1 track for each MIDI Channel that is found in the SMF, 1 track for SysEx or MetaEvents - and this will be the last track in the sequence after the LoadSMFWithFlags calls.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)