Instrument plugin which plays samples

I am new to plugin development and am looking for a sample project to study. My interest is to find a plugin which plays a different sample (or just 1 sample) depending upon the key or combination of keys pressed on a midi keyboard (preferably compilable in Visual Studio).

I have found Juce to be most useful and organized (so far) of all the frameworks I encountered on the internet. So, I hope I can find something to keep my momentum going.

If anyone could point me in the direction of a demo plugin which meets the above requirements, it would be greatly appreciated.

The juce demo plugin plays sine waves with a synthesiser, but could just as easily use a sampled voice, with the Sampler class. The juce demo app has a sampled cello sound as a demo too.