Rapidly Repeating Sounds

Started by
1 comment, last by hughiecoles 11 years, 8 months ago
I'm making a small mini-game using WPF; this game involves a spinning wheel.

My initial hope was to fire a beep sound after every n degrees of rotation, but the application was choking on the sound.
My 2nd approach was to play a single file that beeps at a constant interval until the wheel slows down enough so that the individual sounds can come through,

I've been using MediaElement, and my question is, is there a higher performance sound class that would allow me to fire sounds off at a higher rate? Obviously I'm not going to be able to fire off 100 times a second, but I'd like something that hinders me the least.


Thanks
--------------------------------------Not All Martyrs See Divinity, But At Least You Tried
Advertisement
There is fmod. It's written in C++, but I remember seeing a C# wrapper in the SDK.

Best of luck.
Thank you, I'm definitely going to try that. I have some experience with fmod/C++. I wasn't aware there was a c# wrapper.
--------------------------------------Not All Martyrs See Divinity, But At Least You Tried

This topic is closed to new replies.

Advertisement