Blog.DanYork.com - Audacity - Removing high-pitched whistles and buzzing in podcasts
Personal journal of Dan York - for my VoIP blog, see www.disruptivetelephony.com
dyork
[info]dyork
Audacity - Removing high-pitched whistles and buzzing in podcasts
After I posted the "Intro to VoIP Security panel podcast, I received a nice note from a listener suggesting that I try a high-pass or notch filter to remove the buzzing that in the podcast.  The note prompted me to investigate further because I, too, had been rather annoyed to have this sound in the recording, especially because I had been recording directly from the conference room mixer!  I heard it while there at the Internet Telephony conference, and tried tweaking the mixer a bit to see if I could drop out the buzz, but found no way to do so and had to conclude that it was originating somewhere in the audio equipment they were using.  So I did really want to get rid of it... but then when I came back wanted to get at least one of the panels out and didn't have time to track down the problem.  But after the comment and before I did the next panel I searched...

...and found in the Audacity wiki - "Eliminating a Continuous High-Pitched Whistle-Like Noise from a Recording", a great little tutorial that helped me figure out what I needed to do.  It involves a few steps, basically:
  1. Select part of the recording that is the closest to silence that you can get - where you only hear the buzz.
  2. Go to the "Analyze" menu and choose "Plot Spectrum".
  3. Identify one of the peaks.
  4. Go to the "Effects" menu, choose "Nyquist Prompt" and enter "(notch2 s freq value)" (ex. "(notch2 s 1019 25)")
  5. Play the sound and listen for the buzz.
  6. If the sound is still there, go back to step #2 and identify another frequency and repeat the process. (writing down the frequencies you are using as you go along)
  7. When you have eliminated as much of the buzz as you can, select another segment of sound (preferably several seconds) that includes human voices and repeat step #4 for each of the frequencies you wrote down (unfortunately, per another forum post, there appears to currently be no way to set up a notch filter for several frequencies).
  8. Listen to the resulting segment to ensure that it still sounds okay (hopefully sans buzz).
  9. Select the entire audio file and apply the notch filters to the entire selection.
  10. Listen to your clean(er) audio file.
That's basically what I did... although in thinking about it I might have had a step between 8 and 9 where I used "Undo" to remove the notch filters on the small human voice segment before applying the filters across the entire file.  For my own record, here's the sequence I did:
(notch s 1019 25)
(notch s 2046 25)
(notch s 21649 25)
(notch s 21650 25)
(notch s 21652 25)
That all seemed to do the trick. There still a bit of a low hum, but I also tried a high-pass filter that would basically wipe out everything under a certain threshold, but using numbers down like 100Hz I didn't discern any real difference - and I was reluctant to go too much higher and start impacting voices.

Anyway, you can hear the difference on the "VoIP Security Best Practices" panel.  Still a small buzz... but at least the high-pitched one is gone.  (And suggestions on killing the low buzz are always welcome. :-)

Tags: , , ,

Comments
chibirhm From: [info]chibirhm Date: June 3rd, 2008 11:15 pm (UTC) (Permanent Link)
Hi - I found this through a google search. I removed the vocals on an audio track (basically, I used the Nyquest Center Pan Remover) and it creates similar high pitched buzzing noises. But when I went to follow your advice, under the "analyze" bar I only have something called "beat finder". Is there something wrong with my copy of Audacity? And if you don't know, do you know where to refer me to someone who does?
dyork From: [info]dyork Date: June 5th, 2008 01:27 pm (UTC) (Permanent Link)
Hi there... I'm not sure what to tell you. I wrote this post about 2 years ago on the Windows version of Audacity (1.2.something). On my Mac in Audacity 1.3.3 I *do* have a "Plot Spectrum" choice in my Analyze menu. My suggestion would be to check out the forums off of http://audacity.sourceforge.net/ to see if someone there has had this issue or if the menu choice has been removed from other versions of Audacity. Best wishes!
2 comments or Leave a commentPermanent Link
Profile
Dan York
User: [info]dyork
Name: Dan York
My Other Weblogs
- Disruptive Conversations
   (social media, blogs, PR, etc.)
- Disruptive Telephony
   (Voice over IP, telecom)
- Blue Box: The VoIP Security Podcast
- Voice of VOIPSA
   (VoIP Security Alliance)
about this journal
Copyright 2004-9 Dan York

All opinions expressed here are entirely mine and have no connection to my employer or any other person or organization.

If you enjoy my writing (style or content) and would be interested in a contribution of text to a book, magazine, website, etc., please feel free to contact me as I am always open to considering writing opportunities.
Full Disclosure
Dan York, CISSP, is Director of Conversations at Voxeo. He is also the Best Practices Chair for the VOIP Security Alliance. However, there is no connection between Voxeo and this weblog and nothing stated here should in any way be interpreted as statements or positions of Voxeo or VOIPSA.
Categories/Tags

Select a tag/category to view all entries in that category.

Links
page summary