---
title: InstrumentActivityResult.Instrument
framework: musicunderstanding
role: symbol
role_heading: Structure
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: musicunderstanding/instrumentactivityresult/instrument
---

# InstrumentActivityResult.Instrument

A type that identifies a specific instrument category.

## Declaration

```swift
struct Instrument
```

## Overview

Overview The framework defines four built-in categories: vocal, drum, bass, and other. The other category groups any instruments that don’t fall into the other three categories.

## Topics

### Instance Properties

- [rawValue](musicunderstanding/instrumentactivityresult/instrument/rawvalue.md)

### Type Properties

- [bass](musicunderstanding/instrumentactivityresult/instrument/bass.md)
- [drum](musicunderstanding/instrumentactivityresult/instrument/drum.md)
- [other](musicunderstanding/instrumentactivityresult/instrument/other.md)
- [vocal](musicunderstanding/instrumentactivityresult/instrument/vocal.md)

## Relationships

### Conforms To

- [CodingKeyRepresentable](swift/codingkeyrepresentable.md)
- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
