# Ambiguous documentation for AAX\_CATEGORY

**URL:** <https://forum.juce.com/t/ambiguous-documentation-for-aax-category/56374>\
**Category:** CMake\
**Created:** [May 24, 2023, 2:18pm UTC](https://forum.juce.com/t/ambiguous-documentation-for-aax-category/56374 "2023-05-24T14:18:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcohen](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@rcohen](https://forum.juce.com/u/rcohen)\
**Post date:** [May 24, 2023, 2:18pm UTC](https://forum.juce.com/t/ambiguous-documentation-for-aax-category/56374/1 "2023-05-24T14:18:08Z")

</div>

Hi,

In `CMake API.md`, the documentation for `VST3_CATEGORIES` is clear:

`Should be one or more, separated by spaces, of the following: Fx, Instrument, Analyzer, Delay, Distortion, Drum, Dynamics, EQ, External, Filter, Generator, Mastering, Modulation, Mono, Network, NoOfflineProcess, OnlyOfflineProcess, OnlyRT, Pitch Shift, Restoration, Reverb, Sampler, Spatial, Stereo, Surround, Synth, Tools, Up-Downmix`

The documentation for `AAX_CATEGORY` is not:

`Should be one or more of: AAX_ePlugInCategory_None, AAX_ePlugInCategory_EQ, AAX_ePlugInCategory_Dynamics, AAX_ePlugInCategory_PitchShift, AAX_ePlugInCategory_Reverb, AAX_ePlugInCategory_Delay, AAX_ePlugInCategory_Modulation, AAX_ePlugInCategory_Harmonic, AAX_ePlugInCategory_NoiseReduction, AAX_ePlugInCategory_Dither, AAX_ePlugInCategory_SoundField, AAX_ePlugInCategory_HWGenerators, AAX_ePlugInCategory_SWGenerators, AAX_ePlugInCategory_WrappedPlugin, AAX_EPlugInCategory_Effect`

It is not clear how to specify multiple AAX categories. I tried separating the categories with spaces as suggested for the VST3 key, but that generated bad data in my Xcode project.

Through some research I determined that the `AAX_ePluginCategory_*` entries are entries in an enum in the AAX headers. And also that they are bitfield definitions. As such, they can be combined using a bit-wise OR operator.

The following code works correctly in my CMakeLists file to specify multiple AAX Categories.

`AAX_CATEGORY AAX_EPlugInCategory_Effect|AAX_ePlugInCategory_Reverb`

I recommend that the documentation be updated to show the correct method for selecting multiple AAX Categories. It may also be possible to issue a warning if the developer incorrectly uses a space or other character to separate the categories, or even to allow that method.

Thank you.

---

<div class="post-metadata">

**Author:** ![rcohen](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@rcohen](https://forum.juce.com/u/rcohen)\
**Post date:** [June 2, 2023, 3:43pm UTC](https://forum.juce.com/t/ambiguous-documentation-for-aax-category/56374/2 "2023-06-02T15:43:21Z")

</div>

Turns out that there is a 2nd bug in the documentation, this time in `VST3_CATEGORIES`. If you include `Pitch Shift` in your list of categories (separated by spaces), you had better put quotes around that string (i.e. “Pitch Shift”).

For example, `VST3_CATEGORIES Fx Pitch Shift` will generate `"Fx|Pitch|Shift"`, which is incorrect.

On the other hand, `VST3_CATEGORIES Fx "Pitch Shift"` will generated `"Fx|Pitch Shift"`. which is correct.

---

<div class="post-metadata">

**Author:** ![mgrand](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mgrand/32/14447_2.png) [@mgrand](https://forum.juce.com/u/mgrand)\
**Post date:** [September 3, 2025, 2:03pm UTC](https://forum.juce.com/t/ambiguous-documentation-for-aax-category/56374/3 "2025-09-03T14:03:02Z")

</div>

> [@rcohen](#):
>
> “Pitch Shift”

I just had the same issue. Quotes fixes it. This should definitely be mentioned in the API documentation…
