No internet connection
  1. Home
  2. How to

Automatically Analyze Clip RMS Level and Clip Gain Accordingly

By Zane Lehmann @Zane_Lehmann
    2024-11-27 23:03:34.733Z

    Hello,

    This is my first inquiry on these forums, so forgive me if my request is unclear, or not asked according to the guidelines.

    I'm looking to write a script to select a clip, analyze it's RMS value using the "Gain" plug-in, and then use the gain slider to adjust until the selected clip reaches the RMS value I'd like. I'm aiming for -18dBRMS to hit my mastering gear at proper operating level.

    I've tried the app Default in the store, but it only measures LKFS and dbFS peak. I'm only attempting to read RMS levels and clip gain based off of that.

    If possible, It'd be amazing if after each clip is successfully gained, the script goes down to the next track in the session, selects the clip within that track and analyzes/gains it, and so on and so forth.

    Thank You!

    • 1 replies
    1. Chad Wahlbrink @Chad2024-12-05 23:00:23.104Z

      Hi @Zane_Lehmann,

      This is an awesome idea.

      I don't think this is currently possible using the Avid "Gain" AudioSuite plugin. The only accessible UI elements of the "Gain" plugin window are the "Gain Slider" and the "RMS/Peak" button and neither parameter is directly "settable."

      [
          "{\"title\":\"Gain\",\"role\":\"AXSlider\",\"fullRole\":\"AXSlider\"}",
          "{\"title\":\"RMS/Peak Control\",\"role\":\"AXSlider\",\"fullRole\":\"AXSlider\"}"
      ]
      

      I think this functionality would need to be purpose built into an AudioSuite plug-in with attention given to adding accessible parameters to be scriptable.

      If you'd like to log the idea of a way to measure RMS/Loudness/Peak level of selected clips with SoundFlow, feel free to add it to the "Ideas" section of the forum.

      Thanks for the question!