---
title: kMDItemMusicalInstrumentCategory
framework: coreservices
role: symbol
role_heading: Global Variable
path: coreservices/kmditemmusicalinstrumentcategory
---

# kMDItemMusicalInstrumentCategory

Specifies the category of an instrument. A CFString.

## Declaration

```swift
let kMDItemMusicalInstrumentCategory: CFString!
```

## Discussion

Discussion Files should have an instrument associated with them ("Other Instrument" is provided as a catch-all). For some categories, such as "Keyboards", there are instrument names which provide a more detailed instrument definition, for example "Piano" or "Organ".
