<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Speech",
  "identifier" : "/documentation/Speech/AssetInputSequenceProvider/provider(from:track:compatibleWith:priority:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Speech"
    ],
    "preciseIdentifier" : "s:6Speech26AssetInputSequenceProviderC8provider4from5track14compatibleWith8priorityACSo7AVAssetC_So0L5TrackCSayAA0A6Module_pGScPSgtYaKFZ"
  },
  "title" : "provider(from:track:compatibleWith:priority:)"
}
-->

# provider(from:track:compatibleWith:priority:)

Returns an input sequence provider that reads from a track of an asset.

```
static func provider(from asset: AVAsset, track: AVAssetTrack, compatibleWith modules: [any SpeechModule], priority: TaskPriority? = nil) async throws -> AssetInputSequenceProvider
```

## Parameters

`asset`

The asset to read from.

`track`

The track to read from.

`modules`

The speech modules that will analyze the audio.

`priority`

The desired priority of the asset-reading task.

## Return Value

An instance of this class.

---

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)