Velocity when setting SamplerSound

I was wondering if anybody knew of a way I can have the MIDI velocity which comes in from the host define the sample which is loaded in SamplerSound, I have 3 different samples per note, depending on velocity so I would need to work with ranges

I think you’d need to overload the Synthesiser::noteOn method and do some custom stuff in there.