Sign in to follow this  
godsenddeath

Rapidly Repeating Sounds

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this