6

I have this audio clip here.

It's of a car revving up through the gears.

I'm making a game and the sound for each gear of the car is all stripped from this one audio file.

Although, I need to make a sound file for the max rev of the car. Or the 'rev limiter'.

It doesn't actually need to sound like a rev limiter, i'd prefer if it just sounded like the car is at its max rev the entire time without sounding like it's looping.

Here's currently the best I can make using Audacity.

And it doesn't sound good, at all, it sounds like the car crashed lol.

So can anyone here offer advice how to make this sound better? Or if you'd rather just splice it yourself and send it to me, that works too. I'm trying to make it loop for 13-15 seconds without noticing it looping.

I only have Audacity but I can download free tools if required.

1 Answer 1

7

Audacity is a great tool for this kind of work. You might be able to make a slightly better sound using a sampler that can crossfade across different sounds for different pitches, but I'm not sure if the result would be worth the extra effort.

It sounds to me like the problem with your "current best" is that you either aren't looking for zero crossings when you begin and end your file, or you aren't paying attention to the way harmonics fade in and out.

Zero Crossings: Unless you are trying to make glitchy music (which you clearly aren't), you want your looping samples to always start and end with a value of zero. You also want the slope of the line coming to the zero crossing to be as similar as possible. That means that if the first few samples of the file are increasing, the last few samples should also be increasing, but from negative values towards zero. Generally you want to decide on your preferred slope and stick to it for all samples in your project to make it easy to interoperate.

Harmonics: Simple sounds like a sine wave cross the horizontal access predictably. You only need three zero-crossings of a sine wave to make a good sample. More complex sounds often have harmonics that fade in and out with a longer period or even an irregular period. Your job is to carefully scan through your file and find sections that loop. This may not be easy. Try using the FFT view in Audacity to find other periodic sounds in your recording.

Alternative: You might be able to synthesize acceptable engine noises using distorted square or saw waves. They won't sound perfectly accurate, but most of your customers will have spent more time driving Ferraris in video games than the real thing…

Pitch: As the engine revs increase, the pitch also increases. It may be useful to remove this pitch shifting in order to extract short samples, and then re-apply the appropriate pitch shifts to your looped samples.

3
  • Thanks for the useful tips! I will try these out and get back to you if I have any questions!
    – novs12
    Jan 16, 2014 at 2:11
  • Tried it out with no luck, I tried matching it up at 0 like you said with audacity but I still get the repeating sound effect. I even tried to match the slope with no luck :( oh well lol i guess ill make do with this
    – novs12
    Jan 16, 2014 at 2:53
  • Matching up the zero crossings and slope is mandatory. If it isn't sufficient, then you need to continue matching zero crossings and slope but also listen for other repeating structures that need to be matched up properly in the loop. Creating a successful audio loop is like creating an Escher tiling from the latest image macro meme. Jan 16, 2014 at 18:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.