---
title: groupID
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avextendednoteonevent/groupid
---

# groupID

The audio unit channel that handles the event.

## Declaration

```swift
var groupID: UInt32 { get set }
```

## Discussion

Discussion The valid range of values are between 0 and 15, but can be higher if the AVMusicTrack destination audio unit supports more channels.

## See Also

### Configuring a Note On Event

- [midiNote](avfaudio/avextendednoteonevent/midinote.md)
- [velocity](avfaudio/avextendednoteonevent/velocity.md)
- [instrumentID](avfaudio/avextendednoteonevent/instrumentid.md)
- [duration](avfaudio/avextendednoteonevent/duration.md)
