I have a spoken word track that has strong background noise. The background noise is a fairly constant nature sound. When I delete parts of the track, it sounds fine. However, when I silence parts of the track (the project has multiple synced tracks, so to eliminate a sneeze I need to silence, not delete), I of course get abrupt changes in the background noise that are unpleasant. I have found a nice long stretch of the background noise that I can copy from, and paste over the part I want to silence, and this sounds good.
What I would like to do is create a macro that lets me paste the background noise into a selection. The problem is that I don’t really know how to do this even without a macro. Is there a way to copy (for example) 10s of the background noise, and paste it into a selection that is only 2 seconds so that only the first 2 seconds of the copied audio are pasted, leaving the length of the track the same?
Or is there a way to get write a macro to get the length of the selection I want to silence, and randomly select a length of audio from a recording of the background, and then use that to overwrite the audio I want silenced?