Jump to content
The Dark Mod Forums

Looping *pop* / *click*


Darkness_Falls

Recommended Posts

I know some of my machine-hum type submissions are large file sizes. They could easily be made much smaller (if someone hasn't done this already) by making it a shorter audio piece. Whenever I've tried to finish a sound so that it loops nicely with the beginning, however, it's often not a smooth transition from the end of the file to the start of the file. Is there a secret to smooth looping? For instance, is there a setting or filter in most audio programs that I'm not familiar with that would successfully transition/merge the end with the start to make it smooth? Next time I'm in my audio program, I might try copying the beginning and doing a "mix paste" to the end to see if that works, but I have my doubts that it'll work, due to how wavelenghts are structured (amplitudes/interference and all).

 

I was just hoping there was a button I could click and the audio program would know what I was wanting to achieve and do it for me. It seems this would be such a common things for sound engineers to want to do, so thought there *must* be a button or menu item somewhere that I'm just not aware of.

Link to comment
Share on other sites

Well if you're talking about the pop/click noise, yes there is a secret.

 

If you zoom right in on the waveform where the sound ends and then restarts (well to see this you're going to have to paste the same file end to end), you'll see that the wave form won't match. It will be smooth and wavey, then it will cut abruptly and start at a different position when the next pasted sound starts.

 

You need to trim the end off of one of them until the waveform meets and forms a continuous line. That will remove the pop/click.

 

As for making the sound sound continuous, well, an old trick I used to do is just crossfade one into the other. Fade out one end, fade in the other end, then do a paste&merge so that both fades overlap (creating a crossfade). While very cheap and nasty, it works for lots of ambient sounds. If it doesn't work for you, one of the sound guys should have some more advice.

Link to comment
Share on other sites

Ahh, thanks Domarius! I'll give them a shot. I had tried the first thing before, but I never zoomed in far enough to see the continuous line before; so that makes sense and I will try it. As for the 2nd one, I will give that a shot first since that's probably the easier of the two. Thanks again!

Link to comment
Share on other sites

Dom is totally right. The waveforms need to meet. This can be done via the crossfading or can be done manually in most sound editors by "drawing" the wave with the pencil tool. If you zoom in (a lot!) you can see the waveform and where it ends. TIP: Try making one side of your waveform start by going up from 0db and then making the other end go up to 0db.

 

This is especially important when working with stereo files since there are hardly ever any instances where the left AND right channels hit 0db at the same time.

 

Then you can try it as is or use the crossfade......

 

I hope this helps!

 

-sax

"Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid."- Frank Zappa

Link to comment
Share on other sites

All sound apps have tools for dealing with this, one way or another. In CoolEdit Pro, there are zoom buttons that zoom in to the left or right edge of a selection. So you can zoom in right down staying centered on one of the edges - useful if you try to make a loop by cutting the end half and pasting it before the first half - the half that you pasted is still selected, so zoom right in on the right end of the selection, and make the waveforms meet.

Link to comment
Share on other sites

Yup, what Dom & Sax said.

 

Also, effects that will make looping more tricky are verb and phaser/chorus/flaser. Dealing with verb can be managed, but when it comes to phasers making a sound loop seamless is VERY hard, because of the problem Sax mentioned.

 

If you have sharp clicking sounds, like a hat or a snare, you may try to loop at this point because the high frequencies can hide some of the popping.

 

If the solution of trying to manage a 0dB start and end of the waveform is not an option (or will produce a pop itself, as it happens), I always employ a technique I learned from creating seamless textures:

I cut the waveform in half, reverse the order of both pieces, and mend them together in the middle. This way you can see the parts left and right of the cutting point and mend it according to the "flow" of the waveform.

 

But while we're on topic, has anybody figured out a good way to deal with phased sounds? For the larger part of the ambients I created so far, I tried to mimick the effect with frequency splitting and other static mono-to-stereo gizmos, but I begin missing ye' olde phaser swirl.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
×
×
  • Create New...