Combining and sub-scripts in .NY files

As I wrote in the other forum thread, I don’t think that will work. I’ll explain why:

Silence / Sound finder plug-ins work by detecting where the audio level is above a specified threshold. If the audio is above the threshold, then it is considered to be “sound”. If the audio is below the threshold then it is considered to be “silence”.

The threshold level needs to be set low enough so that it does not label the ends of words, or quiet parts of words (such as “f” sounds) as silence.
If a page turn or chair squeak or any other “noise” is above the threshold, then Sound Finder / Silence Finder considers it to be “sound”. The threshold must be set higher than the noises that you want marked as “silence”.

Punch Copy/Paste is a useful tool for covering up “noises”, such as chair squeaks and page turns. The problem is, that if the noises are loud enough to be disturbing to listen to, then they are probably going to be too loud for Sound / Silence Finder to mark as “silence” - they will be marked as “sounds”, so your proposed effect will skip over those noises when what you actually want is to cover up those noises.

I’ve posted a plug-in that can mark silences with region labels: Noise gate vs insert room sound - #14 by steve
Feel free to use and/or modify it as you wish.