Ringing in background (HELP PLEASE)

Hey,
When I’m recording audio there is a ringing noise in the background.
It’s not static but a high pitched ring? How can I get rid of this?
I’ve attached an example (The pure background noise with no voice).
I have already tried noise reduction in effects.

Thanks :smiley:

What’s the microphone? Blue Yeti? Windows laptop?

Koz

Applying notch filters can remove the constant noise …

    (setf s (notch2 s 60 10))    ; apply 60 Hz notch
    (setf s (notch2 s 500 10))  ; apply 500 Hz notch
    (let* ((q 50)               ; set the base Q for the filter
           (freq 1000)          ; set base frequency
           ;set the number of iterations
           (iter (truncate (/ *sound-srate* (* 2 freq)))))
      (dotimes (i iter s)         ; start the DO loop
      (setf s (notch2 s (* freq (1+ i)) (* q (1+ i))))))

Notch-filter code in Audacity's ''Nyquist Prompt''.png

It’s a Steelseries Arctis 5.

Didnt work.

My Logitech headset does that and I’ve never been able to solve it.

The microphone makers claim the noise is below -60dB so it’s not their problem. It’s true that’s the AudioBook standard, but that’s also assuming a rain-in-the-trees, water-on-the-beach white noise that’s easily ignored, not a tea kettle whistle.

It sounds like data leaking into your microphone. It’s a cousin to The Yeti Curse. Blue Yeti performance microphones can have the same problem. We’ve never found a fix past stop using the headset or Yeti.

Koz

Right, but isn’t there something I can do to remove the high frequency noise from the audio?
Why can audacity remove static but not this noise?

We can’t take out static, either. We can suppress hiss (ffffffff) and any other single constant noise. I’m betting we can suppress your whistle but we can’t make it vanish, pretty much the exact same problem with the Yeti microphone. It’s like trying to filter out kid screaming on a jet/fingernails on blackboard.

Oh, while we’re doing this, it’s best to perform an actual test sound clip. Posting a straight line is interesting, but it doesn’t always tell us The Whole Story.

http://www.kozco.com/tech/audacity/TestClip/Record_A_Clip.html

Koz

You need to be more specific. Did it give an error? Did your computer catch fire? Did it remove the hum and squeal but not the other mess?
The code that Trebor posted uses legacy (version 3) syntax, so you need to select that option in the Nyquist Prompt.

i.e. tick the box I colored yellow …


Then apply “Nyquist Prompt” to the audio like any other Audacity effect.

Can’t you burn that into the code with a “ver” statement? Leaving that up to the user may not be the best idea.

Koz

Yes, you can add “;version 3” to the top like this:

;version 3
(setf s (notch2 s 60 10))    ; apply 60 Hz notch
(setf s (notch2 s 500 10))  ; apply 500 Hz notch
(let* ((q 50)               ; set the base Q for the filter
       (freq 1000)          ; set base frequency
       ;set the number of iterations
       (iter (truncate (/ *sound-srate* (* 2 freq)))))
  (dotimes (i iter s)         ; start the DO loop
  (setf s (notch2 s (* freq (1+ i)) (* q (1+ i))))))

or better, it can be updated to the current version 4 syntax by replacing the “S” variable with “TRACK” like this:

;version 4
(setf *track* (notch2 *track* 60 10))     ; apply 60 Hz notch
(setf *track* (notch2 *track* 500 10))    ; apply 500 Hz notch
(let* ((q 50)                             ; set the base Q for the filter
       (freq 1000)                        ; set base frequency
       ;;set the number of iterations
       (iter (truncate (/ *sound-srate* (* 2 freq)))))
  (dotimes (i iter *track*)               ; start the DO loop
    (setf *track* (notch2 *track* (* freq (1+ i)) (* q (1+ i))))))