---
title: "init(numberOfBands:)"
framework: avfaudio
role: symbol
role_heading: Initializer
path: "avfaudio/avaudiouniteq/init(numberofbands:)"
---

# init(numberOfBands:)

Creates an audio unit equalizer object with the specified number of bands.

## Declaration

```swift
init(numberOfBands: Int)
```

## Parameters

- `numberOfBands`: The number of bands that the equalizer creates.

## Return Value

Return Value A new AVAudioUnitEQ instance.

## See Also

### Related Documentation

- [bands](avfaudio/avaudiouniteq/bands.md)
