Updated De-Clicker and new De-esser for speech

After reading through this entire thread over the past couple days, I decided to compile some experimentation guidance and explanation of the different parameters as I understand them. I’ve attached my own declicker settings for reference at the end, in case that’s useful to anyone.

Most important parameters for sensitivity and computation (source)

  • Frequency range and number of bands (default: 12 bands over 150 - 9600 Hz (2 bands per octave))
    The main thing controlling both sensitivity and computation power needed is the number of bands. More bands = better click detection, but also more bands = slower. So, picking good values comes down to balancing those two factors. Under the default settings, the de-clicker processes 12 bands, from 150 Hz to 9600 Hz. This is one band per half-octave (150 * 2^6 = 9600, so 6 octaves). Low frequencies are more computationally expensive (see forum post), so if you don’t usually have clicks down that far, you can omit those frequencies from testing. For example, I mostly notice clicks that are higher pitched, so I set the range as 5,000 to 20,000 Hz. This is 2 octaves (5,000 * 2^2 = 20,000), so to have the same number of bands/octave as the default I would only need 4 bands. My current settings actually use 8 bands (4/octave) though, for increased sensitivity.
    To calculate how many octaves your frequency range covers, if the high value of your frequency range is twice the low value, that’s one octave. If it’s four times (2^2), that’s two octaves. Eight (2^3) is three octaves, 16 (aka 2^4) is four octaves, etc.

Other parameters (grouped by topic, but no particular order)

  • Number of passes (default 2)
    The De-Clicker enforces a minimum amount of time between clicks. If you increase the number of passes, this will allow you to catch clicks that were too near to another click to be detected the first time. This has diminishing returns and the author of the plugin says he never uses more than two. I use 1.
  • Sensitivity threshold (default 6 dB)
    The description in the plugin says that a lower threshold detects more clicks, but the plugin author suggests that it’s more likely to increase the rate of false positives, require more computation, and damage unclicky parts of the sound, and that he doesn’t mess with this threshold.
  • Step size (default 5 ms) / click length (default 2 steps)
    Increasing the step size is a way to sacrifice some precision while making the plugin run faster. By looking at a spectrogram, I’ve found that I regularly have clicks that appear to be 15 ms or so, so I have step size set to 5 ms and click length to 3, so that 3*5=15 can actually capture those longer clicks.
  • Time between clicks (in steps, default 3) / dense click threshold (default -45 dB)
    “Make [the time between clicks] too small, and more clicks will be identified, but there may be too much damage to voice when it drops in pitch. There is also a dB threshold (for the entire signal) below which closer clicks may be detected. This may help clean up crackles in de-voiced intervals and breaths. Use low-frequency rolloff effects [on the entire audio] first for better results!” (source)
    Setting the time between clicks lower than the default may increase muffling, in particular for vocal fry that ends of sentences sometimes trail into (source).
  • Widen repair intervals (default 5 ms)
    This specifies a “time period for cross-fading of repairs around each clicky interval. Make it too short and you introduce undesirable artifacts. This setting should not affect computation time significantly” (source). I have this set to 10 ms for some reason.

Bonus:

  • A neat trick to help experiment with new settings is to duplicate the audio you’re experimenting with settings on, and apply the de-clicker with “Isolate Changes” as the action instead of “Apply changes”. Then, look at that track in spectrogram mode. It will clearly show the clicks it detected for you to visually compare to the original track, and you can also listen to it directly to decide if it includes too much non-click audio. If you listen to it at the same time as the original track, it will also cancel out the clicks in the original audio, so that’s a way to preview what “Apply Changes” will sound like.
  • Doing a high-pass filter on the audio to get rid of very low frequencies can be a helpful first step before the de-clicker. Personally, I don’t see any of my own voice below about 110 Hz when I zoom in on the spectrogram, so I use 80 Hz with 24 dB rolloff (“do low-frequency rolloff (highpass filtering) before De-Clicker for slight improvement of some results”)
  • As ever when experimenting with an effect, manage presets is a great way to save and label your experiment parameters so that you can remember how to get back the one you actually liked
    declicker-settings.txt (316 Bytes)
1 Like

hi @procrastinator427

this is very helpful, thanks for posting.

I have a question about the attachment with an example of your settings.

I wonder whether I have a different version of this plugin, as some setting labels on mine are different to those in your document - which means that I had interpret your labels to mine, rather than copy label to label. I think I have done that correctly, but I’m curious why none of my labels has the word "control"in it?

and for example, is your label

control-step-dur-ms=“5”

the same as my

widen repair intervals at each end by (ms)

This is my version of the plugin - please note the different setting labels.

thanks
Anna

de-clicker settings.jpg

after reading your notes again, I’m pretty sure that I’ve got it right - but the question remains - do I have the current version/s of the plugin?

would you be able to post a link to the current versions of both plugins please?

thanks!

hi again

where can I download the UPDATED De-clicker and NEW De-Esser plugins?

i seem to have the old versions.

thanks

I think the first post in this forum topic has the latest versions.

thanks.

There are also De-clicker example settings. Where can I find the recommended settings for De-Esser?

thanks

Does this die for anyone else after working for ~5 minutes?

Yeah been noticing that it just completely freezes and requires me to reset the entire program when trying to use it on longer audios. Love the plugin put damn is it getting harder to use it.

The mounting issues with Audacity which outweigh its improvements together with the developers’ refusal to address the huge issue caused by the smart clips have exhausted my patience.

I have now moved to another DAW (Adobe Audition) which is the editor’s heaven.

That growing pain was the necessary catalyst as now I can’t believe what I was missing out on for the past 6 years.

I don’t mean to rub it in - Audacity was a great free DAW that served me well for my purpose.

But when things get worse not better, editing time longer not shorter and the workflow more clunky and frustrating under the new management- it is time to say goodbye.

Once I have saved my Audacity files in a different format I will uninstall it. This will remove once and for all my question mark about the privacy issues which have never been fully addressed by the new owners.

Finally I am in heaven where my post-production is a breeze, cutting the time by 70% and taking the outcomes to a whole new professional level.

The sale of Audacity has clearly benefited someone - just not the users.

goodbye

I downloaded these and put them in the plugins in the windows file for audacity but they don’t show up in the plugin manager in audacity so I can’t enable them. Any suggestions?

I figured it out.

I see that you’ve “figured it out”, but for the benefit of others: Recent versions of Audacity require a restart after installing the effect.

hi Steve, please can you tell me when installing, should I ‘allow’ or ‘disallow’ overwriting?

These links are opening ERROR pages for me :cry:
Screenshot 2023-01-31 at 6.02.19 pm.png

Where are those links?

https://forum.audacityteam.org/t/installing-nyquist-plug-ins/62381/1
Screenshot 2023-01-31 at 7.48.05 pm.png

I’ve updated that post to point to the new “support” page.

Thank you so much for the plugin. It has been a huge help! Does anyone know if there is a “length limit”? I have noticed that it didn’t remove the clicks when I applied the plugin to a ~25 min long audio file. I got around it by splitting it into multiple parts. Is there a limit or that I can do divide it properly? Thank you :]

I don’t use these plug-ins myself, but there have been multiple reports that they fail if the selection is too long.
I don’t know how long is “too long” - it may depend on multiple factors, such as sample rate, number of channels, effect settings, …

Okay, thank you, I appreciate the information :smiley: