# condition and modifiers in config file

**URL:** <https://community.algoriddim.com/t/condition-and-modifiers-in-config-file/24755>\
**Category:** Questions\
**Created:** [February 18, 2024, 10:18pm UTC](https://community.algoriddim.com/t/condition-and-modifiers-in-config-file/24755 "2024-02-18T22:18:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Massimo\_Ardizzone](https://community.algoriddim.com/user_avatar/community.algoriddim.com/massimo_ardizzone/32/8374_2.png) [@Massimo\_Ardizzone](https://community.algoriddim.com/u/Massimo_Ardizzone)\
**Post date:** [February 18, 2024, 10:18pm UTC](https://community.algoriddim.com/t/condition-and-modifiers-in-config-file/24755/1 "2024-02-18T22:18:57Z")

</div>

hi all.

In the “MIDI Mappings” directory of djay Pro in OSX i see a lot of templates with name \*.djayMidiMapping files.

I can edit this file for my personalization , and in this files i see:

condition  
modifier2 == 7

How work the modifier and condition?

Is possibile to map multiple modifiers?

---

<div class="post-metadata">

**Author:** ![Kaloyan](https://community.algoriddim.com/letter_avatar_proxy/v4/letter/k/67e7ee/32.png) [@Kaloyan](https://community.algoriddim.com/u/Kaloyan)\
**Post date:** [November 23, 2024, 8:43am UTC](https://community.algoriddim.com/t/condition-and-modifiers-in-config-file/24755/3 "2024-11-23T08:43:36Z")

</div>

I think that modifier2 holds the user selected PadMode for deck2. Respectively modifier1 holds the selected pad mode for deck1 and so on for decks 3 & 4.

State == 7 is BounceLoop mode, or Loop Roll, how it’s labeled on many controllers.

This is the way for that pad buttons to do different things, in the context of the selected pad mode.

I really want this exposed in the UI too [and created a request to see it exposed](https://community.algoriddim.com/t/expose-the-modifiers-condition-string-in-the-midi-mapping-ui/32181)

for how it works, I understand that for example, on 4ch controllers, when I change deck 1/3, there’s a modifier state being raised. There are multiple modifiers, and their state.

apparently, it’s an internal thing that the mapping team is setting and it’s very custom and specific for the variety of controllers. Perhaps they have some convention, but that’s not documented, and IMO, doesn’t need to be really - we can figure it out …

---

<div class="post-metadata">

**Author:** ![Kaloyan](https://community.algoriddim.com/letter_avatar_proxy/v4/letter/k/67e7ee/32.png) [@Kaloyan](https://community.algoriddim.com/u/Kaloyan)\
**Post date:** [November 23, 2024, 9:14am UTC](https://community.algoriddim.com/t/condition-and-modifiers-in-config-file/24755/4 "2024-11-23T09:14:39Z")

</div>

There are several threads for this request - you can vote on them:

> [@Traktor-style Modifiers and Conditions?](https://community.algoriddim.com/t/traktor-style-modifiers-and-conditions/11849/34):
>
> @Slak_Jaw, please escalate this to the R&D team again. Let us have a “Conditions” in the Advanced Section, where we can see and set per command modifier conditions in the mappings UI. They modifiers support is there in the engine, and every command can evaluate a condition. It’s just not accessible to us, the users. And we need it. As a first step, just let us see and edit them per command. That should be relatively easy for the Dev Team. A full implementation to manage and construct new modi…

> [@Modifiers support for MIDI mappings](https://community.algoriddim.com/t/modifiers-support-for-midi-mappings/12403):
>
> I would like to be able to use modifiers, when working with the midi mappings manager. This has been requested in another post: Digging a bit, it seems to already work somehow in the mappings engine, only lacking UI. This is an excerpt from the MIXTOUR mapping, related to the use of the Filter knob, which can also become an FX knob, if the FX “switch” is ON. The knob is simply sending “CC 4” but the mapping does different things if the “FX” switch is on or off: \<dict\> \<key\>keyPath\</key\> …

---

<div class="post-metadata">

**Author:** ![Kaloyan](https://community.algoriddim.com/letter_avatar_proxy/v4/letter/k/67e7ee/32.png) [@Kaloyan](https://community.algoriddim.com/u/Kaloyan)\
**Post date:** [November 25, 2024, 11:24am UTC](https://community.algoriddim.com/t/condition-and-modifiers-in-config-file/24755/5 "2024-11-25T11:24:20Z")

</div>

I’ve made a post describing how we can use the modifiers and will be gradually adding info on what each does.

> [@HOW TO work with Modifiers in the MIDI Mapping XML](https://community.algoriddim.com/t/howto-work-with-modifiers-in-the-midi-mapping-xml/32183):
>
> Hello, While working on my Denon MC7000 monster controller mapping, I’ve defined a secondary/custom SHIFT+ key, and that suddenly opened up a VAST field of available buttons for extra control mappings. For many buttons, it was straight forward just press the custom SHIFT and the button, and voila - one more layer of control options is suddenly becoming available. In the case of MC7000, we have a pair of buttons on both sides that are for controlling the Views in Serato. I chose the L.PREP butt…

---

<div class="post-metadata">

**Author:** ![system](https://community-assets.algoriddim.com/original/1X/12708751d75e1f1f991dd837f457a420f9b47c93.svg) [@system](https://community.algoriddim.com/u/system)\
**Post date:** [November 25, 2025, 11:24am UTC](https://community.algoriddim.com/t/condition-and-modifiers-in-config-file/24755/6 "2025-11-25T11:24:43Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
