I\'m making a sampler program where each key from 1 to 9 will make a different sound.
Everything works fine, but when I press two (or more) sounds at the same time, the seco
you need to use xAudio2 via SharpDX , it is a directX component dedicated for game development , you can find a full working sample here:
https://github.com/sharpdx/SharpDX-Samples/tree/master/Desktop/XAudio2/PlaySound