---
title: "init(asset:track:analyzerFormat:priority:)"
framework: speech
role: symbol
role_heading: Initializer
path: "speech/assetinputsequenceprovider/init(asset:track:analyzerformat:priority:)"
---

# init(asset:track:analyzerFormat:priority:)

Creates an input sequence provider.

## Declaration

```swift
init(asset: AVAsset, track: AVAssetTrack, analyzerFormat: AVAudioFormat, priority: TaskPriority? = nil)
```

## Parameters

- `asset`: The asset to read from.
- `track`: The track to read audio samples from.
- `analyzerFormat`: The audio format to convert the audio samples to. The audio format should be one supported by the speech analyzer’s modules.
- `priority`: The desired priority of the asset-reading task.

## See Also

### Creating a provider

- [provider(from:compatibleWith:priority:)](speech/assetinputsequenceprovider/provider(from:compatiblewith:priority:).md)
- [provider(from:track:compatibleWith:priority:)](speech/assetinputsequenceprovider/provider(from:track:compatiblewith:priority:).md)
