Jump to content
  • Advertisement
Sign in to follow this  
Brainsaw

Car engine sound

This topic is 2910 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

Hi,

I am planning to start a new project soon. It's going to be a car racing game, working title "drift and left die". I have most parts ready to go (car should behave like "the Car" in my IrrOdeCar demo from my IrrOde wrapper (http://bulletbyte.de/products.php?sub=irr&show=irrode)), but I just have no idea on how to get a nice sound for the car's engine. How is such a thing normally done? Use hundreds of small samples depeding on the rpm? Thanks for your replies in advance.

Share this post


Link to post
Share on other sites
Advertisement
You seem to have the right idea. It is generally done by pitch shifting and cross fading between multiple engine loops (where an 'engine loop' is a looping sample of the engine in a particular state, ie. you'd likely have an idle loop, a low-mid rpm loop and a max rpm loop). The engine's rpm drives the pitch shifting through and cross fading between loops. The more good engine loops that you have, the better your engine will sound.

If you're especially motivated, other sounds such as supercharger/transmission whine, turbocharger spooling, road surface noise, etc. can be layered on top as well, though likely you'll drive them not using engine rpm, but something else.

Share this post


Link to post
Share on other sites
OK, thanks. I'll have to do some testing and see if it works. I think I'll first record some sounds, maybe from a motorcycle (because I don't have access to any cool sounding cars ;) ).

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!