MZX can do it, you just need to rip the CD tracks as a WAV files and use an editor to prepare the samples, trim them, and set any loop point markers that's needed. Wavosaur is a good editor for embedding loop points, otherwise Audacity can work if loops are not needed. MZX sample manager can import the wave files and allow you to map them to key ranges, velocity ranges, and much more.