Mapping ranges of notes for controls?

Thanks for clarification.

The short answer is. Yes, but not directly.

Why not directly?

  • If you mapped a key to the Transpose Semitones property, it would respond to the velocity of that key…
    …and return to 0 (= -64 semitones) when you released.

  • Mapping values are taken directly (ie un-transformed) from a given DIN/USB IN.
    So, for example, a set of buttons each toggling to a different value/velocity, that would work.
    (I know this is not your set-up but it helps show the constraints when you’re doing it directly)

How indirectly?

In order to do something to an incoming value, then send it back in to be picked up as a mapping,
many users employ a loopback; sending a cable-out back-in or patching Midihub to itself via a PC|Mac|rPi patchbay.

Then it's not hard:

the mapping set-up loop would look like this:

[EDIT: line 1 below incorrect – should be D.LOOPBACK → D.LOOPBACK.
KEYS → D.LOOPBACK should be separate line ]

the key pipe is highlighted; a note is transformed to a CC (here ch16 CC101) with its value set to the note number.
(the Transpose is just to set C4 → 64 → 0 Transpose, the filters to ensure only notes get in and CC gets out)
When this comes back into Midihub, it will set the Sequence Transpose (the one with the green corner)


So Midihub will do this. And much, much more. Not a purchase you’ll regret!

1 Like