A good way to do it would be to pitch shift the sample multiple times to give you multiple notes. Save each sample seperately and then map each sample on the corresponding keys.

A sample editor like soundforge (or equivalent) is sufficient.