Hi, I need a C# source code able to apply an Audio filter as Echo to an Audio file.
I'm currently using DirectSound, a part of Direct X 9.
Unfortunately I don't know a way to apply this effect.
Actually my small application plays a .Wav file with this source code:
| 1 | |
| 2 | if (openFileDialog1.ShowDialog() == DialogResult.OK) |
| 3 | { |
| 4 | dev = new Microsoft.DirectX.DirectSound.Device(); |
| 5 | dev.SetCooperativeLevel(this, Microsoft.DirectX.DirectSound.CooperativeLevel.Normal); |
| 6 | snd = new Microsoft.DirectX.DirectSound.SecondaryBuffer(openFileDialog1.FileName, dev); |
| 7 | |
| 8 | snd.Play(0, BufferPlayFlags.Default); |
| 9 | } |
| 10 | |
If someone can help me I thank him from now
Best Regards
Fornarina