high-pitched mosquito whine/hum in all headset recordings

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
choppery
Posts: 2
Joined: Sun Feb 17, 2013 9:54 pm
Operating System: Please select

high-pitched mosquito whine/hum in all headset recordings

Post by choppery » Sun Feb 17, 2013 10:11 pm

Hi all, this isn't technically a problem with Audacity so please move or remove this post if it's not appropriate. :)

I'm using a little consumer-grade Sennheiser PC 8 headset on Mac 10.6.8 and every recording I take has a light (but audible) mosquito hum. I don't hear any hum as I'm recording, but the resulting audio files always have the hum.

I've been using Audacity 2.0.3 (dmg) to remove it, but of course it can't remove it perfectly, and it's an annoying step. I've been adding cheesy background music to my screencasts just to distract people from the noise. :)

I know the problem is the headset. The hum only affects recordings made with this particular headset, not regular internal mic recordings. The hum happens on different computers located in different rooms (no speakers or humming electronics nearby), and it doesn't matter what program I use to record the audio - Screenflow, Wiretap Studio, whatever: if I use the headset, I get the hum. But this headset is just two weeks old so I'm wondering if there's something obvious I'm doing wrong that will avoid me having to buy another, because I can't find the warranty...

Sample attached. If you turn the volume up you can hear it better. Would be grateful for any ideas! I am a total beginner.
Attachments
Sennheiser USB headset_recording 4.2.wav
(610.77 KiB) Downloaded 117 times

kozikowski
Forum Staff
Posts: 68938
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: high-pitched mosquito whine/hum in all headset recording

Post by kozikowski » Sun Feb 17, 2013 10:43 pm

There are a number of things wrong with the recording. Attached is a cleaned up version.

Effect > Noise Reduction: 18, 0, 200, 0
Effect > High Pass Filter: 100Hz 24dB
Effect > Amplify to -1.

So that's how to make what you have into a moderately presentable recording. If you overdo noise removal, it will start messing with your voice.

You're too close to the mic. Back off a little -- swing the boom further from your mouth. I can play your recording on my killer sound system and the thumps scared the cat. If you back away a little, you may not need the High Pass Filter.
It pays handsomely to listen to your work on a very good sound system to catch all the problems before the client hears them.

Now go look for your receipts. It's a sampling error or bad cable shield or something like that. I'm betting it can't be fixed. Are you going through a USB hub by any chance? They will do that.

Koz
Attachments
Sennheiser USB headset_recordingPatched.wav
(606.82 KiB) Downloaded 87 times

Trebor
Posts: 9852
Joined: Sat Dec 27, 2008 5:22 pm
Operating System: Windows 8 or 8.1

Re: high-pitched mosquito whine/hum in all headset recording

Post by Trebor » Sun Feb 17, 2013 11:40 pm

Repeated notch filters at 1KHz intervals gets rid of most of it ...

Copy and paste the code below into something called "Nyquist Prompt", which is in the Audacity "Effects" menu.

Code: Select all

        (setq mysound s)
        (setq q 10)         ; set the base Q for the filter
        (setq iter 15)     ; set the number of iterations
        (setq freq 1000)  ; set base frequency

        ; start the DO loop
        (dotimes (i iter mysound)   
        (setf mysound (notch2 mysound (* freq (1+ i)) (* q (1+ i))))
        )                     ;end of loop
[ code originally from here ... http://forum.audacityteam.org/viewtopic ... 839#p34839 ]
Last edited by Trebor on Mon Feb 18, 2013 12:08 am, edited 1 time in total.

Trebor
Posts: 9852
Joined: Sat Dec 27, 2008 5:22 pm
Operating System: Windows 8 or 8.1

Re: high-pitched mosquito whine/hum in all headset recording

Post by Trebor » Mon Feb 18, 2013 12:06 am

If you then apply noise reduction, and a noise gate the result isn't too bad ...

Post Reply