Set root and range in sampler via MIDI (and keyboard)

Having the ability too set the sampler’s root key and key range via MIDI would improve the workflow quite a bit.
Just let us click on the value and then wait for the next note received via a connected MIDI
Oh and via keyboard would be nice, too.