我想写采样方案,其中每个键有不同的声音(WAV文件)。
能否有人向我解释或者给我一个链接到一个解释,我可以学习如何玩WAV文件?
如果它的事项,我正与微软的Visual C#和使用的WinForms。
解决方案 声音播放simpleSound =新的声音播放(strAudioFilePath);
simpleSound.Play();
I'm trying to write a SAMPLER program, where each key has a different sound (a WAV file).
Can someone explain to me or give me a link to an explanation where i can learn how to play the WAV files?
If it matters, I'm working with Microsoft Visual C# and using WinForms.
解决方案SoundPlayer simpleSound = new SoundPlayer(strAudioFilePath);
simpleSound.Play();