# frequency elimination/dampening using nyquist

**URL:** <https://forum.audacityteam.org/t/frequency-elimination-dampening-using-nyquist/19325>\
**Category:** Nyquist\
**Created:** [May 13, 2011, 7:34pm UTC](https://forum.audacityteam.org/t/frequency-elimination-dampening-using-nyquist/19325 "2011-05-13T19:34:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![uglijimus](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/u/c68b51/32.png) [@uglijimus](https://forum.audacityteam.org/u/uglijimus)\
**Post date:** [May 13, 2011, 7:34pm UTC](https://forum.audacityteam.org/t/frequency-elimination-dampening-using-nyquist/19325/1 "2011-05-13T19:34:31Z")

</div>

Hi,

I’ve done some research in the archives and it seems that nyquist is probably best for what I want to accomplish. I am looking to cut out the dominating effect of some cymbals in a song that is detracting from the rest of the instruments. In a perfect world I would love to get ahold of the original tracks before being mixed to the master but seeing how that’s not possible…

I guess I’m looking for the equivalent of a low-pass/high-pass combination effect. I have tried the 31-band EQ which has helped eliminate the cymbals, but I want to get even more specific as to what EXACT frequency to eliminate/dampen (ones that don’t show up on the EQ) OR a range of frequencies (between X and Y).

How can I write a script for eliminating or dampening an exact frequency  
and a range of frequencies using nyquist?

thanks

---

<div class="post-metadata">

**Author:** ![steve](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://forum.audacityteam.org/u/steve)\
**Post date:** [May 13, 2011, 7:43pm UTC](https://forum.audacityteam.org/t/frequency-elimination-dampening-using-nyquist/19325/2 "2011-05-13T19:43:42Z")

</div>

Have a look at this “band stop” filter [https://forum.audacityteam.org/t/bandstop-plug-in/18400/1](https://forum.audacityteam.org/t/bandstop-plug-in/18400/1)

---

<div class="post-metadata">

**Author:** ![uglijimus](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/u/c68b51/32.png) [@uglijimus](https://forum.audacityteam.org/u/uglijimus)\
**Post date:** [May 13, 2011, 9:06pm UTC](https://forum.audacityteam.org/t/frequency-elimination-dampening-using-nyquist/19325/3 "2011-05-13T21:06:45Z")

</div>

thanks for that, but it only goes up to 10KHz? When I was messing around with the EQ, 12.5Khz seemed to be where the key frequencies were…

---

<div class="post-metadata">

**Author:** ![Trebor](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/trebor/32/45854_2.png) [@Trebor](https://forum.audacityteam.org/u/Trebor)\
**Post date:** [May 13, 2011, 9:38pm UTC](https://forum.audacityteam.org/t/frequency-elimination-dampening-using-nyquist/19325/4 "2011-05-13T21:38:08Z")

</div>

Maybe use the cymbal noise (on its own) as the “noise profile” for “noise reduction”.

don’t get your hopes up though , the result may be too distorted.

---

<div class="post-metadata">

**Author:** ![steve](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://forum.audacityteam.org/u/steve)\
**Post date:** [May 13, 2011, 9:39pm UTC](https://forum.audacityteam.org/t/frequency-elimination-dampening-using-nyquist/19325/5 "2011-05-13T21:39:50Z")

</div>

To increase the maximum frequency for the plug-in, open the .ny file in a text editor and find the line:

```plaintext
;control freq "Centre Frequency" real "[Hz]" 1000 100 10000

```

and change it to

```plaintext
;control freq "Centre Frequency" real "[Hz]" 1000 100 15000

```

For very high frequency filtering the audio must be at a high sample rate.

---

<div class="post-metadata">

**Author:** ![edgar-rft](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/e/c77e96/32.png) [@edgar-rft](https://forum.audacityteam.org/u/edgar-rft)\
**Post date:** [May 13, 2011, 9:45pm UTC](https://forum.audacityteam.org/t/frequency-elimination-dampening-using-nyquist/19325/6 "2011-05-13T21:45:51Z")

</div>

The “quick & dirty” solution would be to type the frequency value with the keyboard into the small text window beside the slider. As far as I can see from the code, the plugin works with frequencies up to samplefrequency/2, the 10kHz is only an artificial limitation of the slider range. Just tested with 15000Hz, it works.

---

<div class="post-metadata">

**Author:** ![steve](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://forum.audacityteam.org/u/steve)\
**Post date:** [May 13, 2011, 10:01pm UTC](https://forum.audacityteam.org/t/frequency-elimination-dampening-using-nyquist/19325/7 "2011-05-13T22:01:22Z")

</div>

If the centre frequency plus half the stop-band width is too high (greater than half the sample frequency) it will give an error message.  
For a band with of 0.5 octaves you can go up to about 18.5 kHz centre frequency (assuming a sample rate of 44.1 kHz)

---

<div class="post-metadata">

**Author:** ![uglijimus](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/u/c68b51/32.png) [@uglijimus](https://forum.audacityteam.org/u/uglijimus)\
**Post date:** [May 14, 2011, 3:54pm UTC](https://forum.audacityteam.org/t/frequency-elimination-dampening-using-nyquist/19325/8 "2011-05-14T15:54:34Z")

</div>

It worked! I haven’t used it on the aforementioned project, which I plan on doing when I get back to work on monday. However, I input the 15000 in the text editor and it came out perfect, no problems. thank you!
