This question already has an answer here:
I am aiming to achieve a believable engine sound for a car. The vehicles are simplified versions of their real-world counterparts, with simpler steering behaviors and acceleration, etc.
This seems like a fairly complicated topic to me, which I must not take lightly. So, how would I find/capture sounds of a car's engine, properly segmented in a way they can be used inside a game?
Also, what kind of format do I need the sound files in? How do I separate the sounds in multiple files so they can be used by such an algorithm?
I'm not sure this is even the way to go about it, but my wild guess would be to create an algorithm that would take as input the car's shift, current velocity and other engine parameters and output the correct sound at the correct time. How would you do such a thing?