No internet connection
  1. Home
  2. How to

Possible to adjust regions of a certain length only?

By Josh Bowman @Josh_Bowman
    2022-05-02 20:54:12.413Z

    Hi, Trying to figure out if there is anyway to select all regions under a certain length on specific tracks. I'm using Normalize on a bunch of audio files, but there are some short clips that are just noise/room tone and I want to either be able to highlight all clips except those short ones before normalizing, or, after normalizing be able to clip gain all regions below a certain length (which are almost always the noise/room tone) down to a specified clip gain value to turn them down.. Any ideas for possible ways to approach this?

    • 1 replies
    1. If you use clipDoForEachSelectedClip you could read the selection length (potentially in samples) and just skip the clip that way.
      Look into selectionGetInSamples for that.

      By the way, here's a thread with some good info on batch normalizing: