• Advertisement
Sign in to follow this  

Rapidly Repeating Sounds

This topic is 1998 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
There is [url="http://www.fmod.org/"]fmod[/url]. It's written in C++, but I remember seeing a C# wrapper in the SDK.

Best of luck.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement