How to create a negative harmony conversion

Is there a way to convert Midi input into its negative harmony? I want to run Midi through the hub and have the chords converted for me so I can hear what songs sound like in its negative harmony? This Abelton Live Max for life can do this I think.

I had to look this up
don’t understand it yet

…but is it just a 1 → 1 mapping where the particular mapping depends on the “positive” scale you’ve chosen?

If so, won’t a Custom Scale Remap get you there?
(You might need to get a little clever with Transposing some of the notes an Octave but that’s all do-able)