Become a Site Supporter and Never see Ads again!

Author Topic: Notch filter help  (Read 5232 times)

0 Members and 1 Guest are viewing this topic.

Offline greenone

  • Trade Count: (4)
  • Needs to get out more...
  • *****
  • Posts: 9273
  • Gender: Male
  • Russian mics... strong like bull...
Notch filter help
« on: March 02, 2010, 10:06:50 AM »
Evening all...transferring an old recording for a friend that has a constant, high-pitched squeal through the whole show. I'm pretty sure a notch filter would take care of it but I haven't the foggiest as to how to a) figure out the frequency of the squeal and b) construct/apply such a filter with the tools I have available to me - Sound Studio 2.2.4 and Audacity. Anyone willing to teach a man to fish? ;D Sound Studio is a Mac-only program but hopefully this can be done in Audacity or some other cross-platform tool.

Actually, it occurs to me I could use Windows via VMWare but obviously I'm not interested in buying a program for one function.
Unofficial Blues Traveler archivist - glad to work on any BT or related recordings
archive.org admin - happy to upload tracked material to the LMA

Offline notlance

  • Trade Count: (6)
  • Taperssection Member
  • ***
  • Posts: 695
  • Gender: Male
Re: Notch filter help
« Reply #1 on: March 02, 2010, 10:17:06 PM »
Here's how you can do it in Audacity.
Figure out the frequency of the squeal: Select a section where the squeal is particularly prominent.  Under the Analyze menu select "Plot Spectrum".  Audacity will display a frequency spectrum of the selected waveform.  If you scroll over the plot there is a readout of the frequency and level at the cursor position.

You can create a notch filter using the "Equalization" item under the Effect menu.

Offline capnhook

  • All your llamas are belong to us....
  • Site Supporter
  • Trade Count: (20)
  • Needs to get out more...
  • *
  • Posts: 4870
  • All your llamas are belong to us....
Re: Notch filter help
« Reply #2 on: March 02, 2010, 10:17:46 PM »

Do you have the notch filter nyquist plug-in for Audacity?   

You can find it here ----- http://audacity.sourceforge.net/nyquist/notch.zip



Here's a wiki ----- http://wiki.audacityteam.org/index.php?title=Noise_Removal

Halfway down the page it deals with finding the offending frequency, and designing a notch filter.  You can do what it recommends there (the hard way).........you will have to enter values at the Nyquist prompt


----------------- OR---------------------------


(the easy way) If you download and install the Nyquist Notch Filter tool, it will show up in your "Effects" list.

Here's the way that works for me best:

(1) Analyze > Plot Spectrum > set graph to Spectrum, Hanning window, 8192, Log frequency
(2) Slide cursor over graph and find the peak resonant frequency that you want to remove
(3) Effect > Notch Filter
(4) enter Notch Frequency you want to remove, enter "4.0" for the Notch "q" (gives a steep-sided notch, won't affect other frequencies around it)
(5) Analyze > Plot Spectrum > see if what you did was what you expected.
(6) Repeat for any other resonances...

Viva Audacity!

Proud member of the reality-based community

BSCS-L->JB-mod [NAK CM-300 (CP-3) and/or (CP-1)]->LSD2->CA CAFS-Omni->Sony ECM-907**Apogee MiniMe Rev. C->CA Ugly II->**Edirol OCM R-44->Tascam DR-22WL->Sony TCD-D8


"Don't ever take an all or nothing attitude when it comes to making a difference
and being beautiful and making the world a beautiful place through your actions.
Every little bit is registered.  Every little bit.  So be as beautiful as you can as often as you can"

"It'll never be over, 'till we learn."
 
"My dream is to get a bus and get the band and just go coast to coast. Just about everything else except music, is anti-musical.  That's it.  Music's the thing." - Jeb Puryear

Online vanark

  • TDS
  • Site Supporter
  • Trade Count: (29)
  • Needs to get out more...
  • *
  • Posts: 8544
  • If you ain't right, you better get right!
    • The Mudboy Grotto - North Mississippi Allstar fan site
Re: Notch filter help
« Reply #3 on: March 02, 2010, 10:52:58 PM »
Yes, I've used that notch filter nyquist plugin and it worked pretty well.
If you have a problem relating to the Live Music Archive (http://www.archive.org/details/etree) please send an e-mail to us admins at LMA(AT)archive(DOT)org or post in the LMA thread here and we'll get on it.

Link to LMA Recordings

Link to Team Dirty South Recordings on the LMA

Mics: Microtech Gefell M21 (with Nbob actives) | Church Audio CA-11 (cards) (with CA UBB)
Pres: babynbox
Recorders: Tascam DR-60D | Tascam DR-40 | Sony PCM-A10 | Edirol R-4

Offline rjp

  • Trade Count: (0)
  • Taperssection Member
  • ***
  • Posts: 432
  • Gender: Male
  • You are likely to be eaten by a grue.
Re: Notch filter help
« Reply #4 on: March 03, 2010, 08:38:52 AM »
Also, the Audacity site has a package of LADSPA plugins - I've made use of the "Mag's Notch Filter" plugin quite a bit for dealing with things like squealing hearing aids. One thing you need to be careful of, though - that can sometimes put a click in the output. I used to use trial and error to figure out the best place to begin and end the notch to avoid clicks.

However, I've found that it's best to copy the offending segment plus a second of padding on either end to a separate track, split-delete the bad section (without the padding) from the main track, apply the notch filter to the copied section and cross-fade the notched result with the main track. A lot of work, but it can make a huge difference in listenability.

For the crossfades, the LADSPA package I mentioned has crossfade plugins as well.
Mics: AKG Perception 170, Naiant X-X, Sound Professionals SP-TFB-2
Preamps: Naiant Littlebox
Recorders: Olympus LS-10
Interfaces: Focusrite Saffire Pro 14, Focusrite Scarlett 2i2

Offline greenone

  • Trade Count: (4)
  • Needs to get out more...
  • *****
  • Posts: 9273
  • Gender: Male
  • Russian mics... strong like bull...
Re: Notch filter help
« Reply #5 on: March 04, 2010, 01:40:37 PM »
Thanks for the help, all - it worked outstandingly well!

My only concern was being able to isolate the exact frequency - I could see the peak in the graph but found it hard to interpret exactly what I was looking at and if I'd chosen the right one, because I couldn't get the graph big enough to make sure I had the exact right range. Fortunately I nailed it on my first try, and equally fortunately, the squeal was consistent through the whole recording so I could take it out at one go. I'll relisten to make sure it's completely gone but initial result seem good. Thumbs up!
Unofficial Blues Traveler archivist - glad to work on any BT or related recordings
archive.org admin - happy to upload tracked material to the LMA

Offline capnhook

  • All your llamas are belong to us....
  • Site Supporter
  • Trade Count: (20)
  • Needs to get out more...
  • *
  • Posts: 4870
  • All your llamas are belong to us....
Re: Notch filter help
« Reply #6 on: March 04, 2010, 01:56:03 PM »
Thanks for the help, all - it worked outstandingly well!

My only concern was being able to isolate the exact frequency - I could see the peak in the graph but found it hard to interpret exactly what I was looking at and if I'd chosen the right one, because I couldn't get the graph big enough to make sure I had the exact right range. Fortunately I nailed it on my first try, and equally fortunately, the squeal was consistent through the whole recording so I could take it out at one go. I'll relisten to make sure it's completely gone but initial result seem good. Thumbs up!

In Analyze > Plot Spectrum, try fiddling around with the "numbers" field.....the box that goes from 128 to 16384.  You will see the ranges change. Use "log frequency" too.

Proud member of the reality-based community

BSCS-L->JB-mod [NAK CM-300 (CP-3) and/or (CP-1)]->LSD2->CA CAFS-Omni->Sony ECM-907**Apogee MiniMe Rev. C->CA Ugly II->**Edirol OCM R-44->Tascam DR-22WL->Sony TCD-D8


"Don't ever take an all or nothing attitude when it comes to making a difference
and being beautiful and making the world a beautiful place through your actions.
Every little bit is registered.  Every little bit.  So be as beautiful as you can as often as you can"

"It'll never be over, 'till we learn."
 
"My dream is to get a bus and get the band and just go coast to coast. Just about everything else except music, is anti-musical.  That's it.  Music's the thing." - Jeb Puryear

 

RSS | Mobile
Page created in 0.059 seconds with 32 queries.
© 2002-2024 Taperssection.com
Powered by SMF