---
title: "init(classifierIdentifier:)"
framework: soundanalysis
role: symbol
role_heading: Initializer
path: "soundanalysis/snclassifysoundrequest/init(classifieridentifier:)"
---

# init(classifierIdentifier:)

Creates a request that uses the framework’s built-in sound classification model.

## Declaration

```swift
init(classifierIdentifier: SNClassifierIdentifier) throws
```

## Parameters

- `classifierIdentifier`: A sound classifier version identifier, such as doc://com.apple.soundanalysis/documentation/SoundAnalysis/SNClassifierIdentifier/version1.

## Mentioned in

Classifying Sounds in an Audio File

## See Also

### Creating a Request

- [init(mlModel:)](soundanalysis/snclassifysoundrequest/init(mlmodel:)-6rmee.md)
- [SNClassifierIdentifier](soundanalysis/snclassifieridentifier.md)
