Any softsampler can do that - from ableton live,sampletank, giga, kontakt etc. I believe you can find open-source softsamplers nowadays if you don't need lots of power. Reason also has a sampler in it, I believe.
The way to do it is to map the pads to a note. That note can be programmed easily in the softsampler, looped or not.