Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vashbul

macrumors newbie
Original poster
Aug 26, 2011
13
0
I have been capturing audio from a site called "Name My Tune", where people sing or whistle a tune into their computer in hopes someone will identify it.

There's an odd kind of distortion that shows up in a lot of the samples posted - a clicking noise that sounds like clipping distortion due to overmodulation, but if you look at the waveform on an editor like Audacity, you don't see the characteristic "broken" peaks. And it seems to happen whether the source is loud or soft.

Here's what one sample looks like. Top: an 8 sec. clip. Bottom: close-up from the same sample
distortion_waveforms.jpg


Notice there seems to be some ultra-low frequency mixed into the signal. I can eliminate that for the most part by using a low-cut filter, but the "clipping" noise remains, which tells me it's not just a matter of my dinky computer speakers not being able to handle the subsonic signal.

Here's the clip I'm talking about - hear the buzzing noise?

So can anyone suggest how to fix this? Thanks, Peter.
 

xb2003

macrumors 6502
Jan 18, 2016
386
180
MO
It's possible that when the files are uploaded, they are resampled from say 48kHz to 44.1kHz. That would be my guess.
 

vashbul

macrumors newbie
Original poster
Aug 26, 2011
13
0
Possibly resampling caused it - I'm more interested in how to fix or compensate for it than where it came from. Do you think if I re-resampled it myself, the damage would be undone, or is that a lost cause?
 

vashbul

macrumors newbie
Original poster
Aug 26, 2011
13
0
Update: tried resampling, no effect.
If I knew a name for this kind of artifact, maybe I could find a filter that was made to deal with it.
 

cargoplex

macrumors member
Mar 10, 2006
71
36
Bethesda, MD
Update: tried resampling, no effect.
If I knew a name for this kind of artifact, maybe I could find a filter that was made to deal with it.

The other posters are correct that this is an artifact of poor quality resampling. The issue is baked into the file by the time you hear it on that site, so nothing you do can eliminate it after the fact. As xb2003 indicated, the files are most likely converted (resampled) upon upload. The real question is for the site owner, and those questions would be:

1. Is there any post processing (resampling, encoding, etc.) done to my audio files after they are uploaded?

2. What is the ideal format (wav, mp3, etc.) to use when uploading my audio?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.