Log in to Freesound

Problems logging in?
Don't have an account? Join now

Problems logging in?

Enter your email or username below and we'll send you a link to help you login into your account.

Back to log in

Almost there!

We've sent a verification link by email

Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.

Default title

  • Sounds
  • Tags
  • Forum
  • Map
    • Sounds
    • Packs
    • Forum
    • Map
    • Tags
    • Random sound
    • Charts
    • Donate
    • Help

Freesound Forums

  • Freesound Forums
  • Production Techniques, Music Gear, Tips and Tricks
  • Unexplained "Pop" at end of .wav file

Unexplained "Pop" at end of .wav file

Subscribe

Started September 26th, 2021 · 8 replies · Latest reply by .Andre_Onate 3 years, 1 month ago

B
Buckwitch

0 sounds

2 posts

4 years, 2 months ago
#1

Hi.

I'm using an FN-BC04 MP3 player board (also compatible with .wav files) to play one of four recorded growling sounds for a Halloween prop. The board's manufacturer recommends files with 8 or 16 bit resolution sampled at 44.1 KHz. I'm using WavePad to accomplish this.

Two of the four files play back just fine, but the two others exhibit an annoying "pop" sound at the very end of playback on the BC04 (I've tried two new units). I neither hear nor see this pop when examining the files in WavePad.

The BC04's manufacturer recommended saving the files in 12-bit format, but as far as I can tell WavePad doesn't support this.

I notice that the two files which don't pop were originally recorded with 32-bit resolution whereas the to files which "pop" were originally recorded in 24-bit resolution.

Any help fixing this problem would be appreciated.

Thanks!

copyc4t

283 sounds

654 posts

4 years, 2 months ago
#2

"pop" sound at the very end of playback is usually caused by a non-zero-point ending sample.

To make sure that WavePad isn't hiding the problem (e.g. some programs apply micro-fades at playback start and end) do a paste-repeat of your converted sample on a track, play it, and pay attention at the seams.

If the converted sample loop sounds fine, then the board may be processing it internally (e.g. resampling)

Anyway, from this FAQ here:
https://www.electronics123.com/page/faq-fn-bc04

Q11: The .wav file has an audible "click" when finished playing on the module. However, there is no "click" when I listen to the file on my computer.

A11: We converted the frequency of the files from 22.05KHz to 44.1kHz and the "click" disappeared. The "click" also disappeared when we converted the files from .wav to .mp3 format.

copyc4t - http://soundcloud.com/copyc4t
B
Buckwitch

0 sounds

2 posts

4 years, 2 months ago
#3

Thanks for your information and suggestions, copyc4t.

It's interesting to learn that the most probable cause is a non-zero final sample.

I did try a fade and trim at the end using WavePad, but the FN-BC04 still exhibited a "pop" at the end.

Ultimately I found two other alternative sound files that don't exhibit the pop at the end of FN-BC04 playback.

Thanks again for your help!

S
strangely_gnarled

17 sounds

605 posts

4 years, 2 months ago
#4

Don't know if this is relevant but cured a similar problem for me once or twice.

A "pop" suggests a DC offset on the sample, where the positive and negative mean levels don't cancel out. Non-zero start or finish points produce a "click" because of the sharp rapid transition.

The old version of Audacity I use doesn't have a dedicated "DC offset correction" add-on so I used a High Pass filter set at 15Hz (could set as low as 2 to 5Hz?) to remove the DC. Worked perfectly without affecting the sound quality.

Wibby.

Heaven in the sky is to die for, Heaven on earth is to live for.
nlux

368 sounds

2 posts

3 years, 9 months ago
#5

A bit late to the party here, but...

After years of end-of-sample pop and click misery, I now use some or all of the following steps when prepping samples (in Audacity) to prevent it from happening...

1. Use Select / At Zero Crossings to find the *true* zero crossing point (which is often a short distance away from the apparent zero point shown on the monitor) and cut the sample there.

2. Select the last, tiny (<0.1 sec) fraction of the sample and apply a fade out to it, so that I *know* for sure the sample is ending at zero (longer samples may justify longer fade times).

3. Use Generate / Silence... to add 0.05 - 0.1 seconds of nothing to the end of the sample, especially if the sound has a short decay time.

4. If your sample is very short (again, <0.1 sec), then use Generate / Silence... to make it at least 0.15 if not 0.2 seconds long.

Regarding 3 & 4: I don't know exactly why, but *some* computers / sound cards (like mine) don't seem to like very short sounds (like dry-sounding, closed hi-hats) and don't play them completely all the way through, thus ending them with a click. It's almost as though the machine stops playing the sample as soon as it's finished reading it, even if there's a little bit left in the buffer. I suspect it does the same on longer samples, but the effect is less noticeable.

That's why pretty all my drum sounds are at least 0.2 secs long, even if the sound itself only lasts 0.04 secs. Some may call it overkill, but it works for me. Once upon a time I might have worried about wasting memory or overloading processors with too many overlapping samples, but those aren't really issues any more.

noisymichael

57 sounds

20 posts

3 years, 3 months ago
#6

You mention the "true" zero crossing point - why would the one shown on the screen in audacity be any different from the true one?

zimbot

263 sounds

223 posts

3 years, 3 months ago
#7

Another thing to note is that if the sound is in a lossy-compressed format (like mp3) then even if the original waveform ended properly with no offset, the compressed format might not due to the compression artifacts and processing blocks. And that's a good enough reason to add a bit of silence at the end. And my own computer is connected to a home theater system via HDMI, and whenever no sound is being sent, the audio processing turns off, and it takes it a very short time to start working again whenever the audio starts up again, making an argument for having a bit of silence at the start also (but I just consider that a bug of my own setup, and never bother adding silence at the start of any of my uploaded sounds -- YMMV).

-- Keith W. Blackwell
.Andre_Onate

195 sounds

40 posts

3 years, 1 month ago
#8

You gotta fade it out properly or a few times. Also try cutting off a 'millisec' off the end and fading that out. || Unless it is a DC issue in which case sometimes a high pass filter can do the trick 😵‍💫 😏

Post reply
About Freesound Terms of use Privacy Cookies Developers Help Donations Blog Freesound Labs Get your t-shirt!
© 2025 Universitat Pompeu Fabra