No internet connection
  1. Home
  2. How to

Set Input Monitoring to off for all tracks

By Hakan Glante @Hakan_Glante
    2025-05-01 12:02:44.704Z

    Is there a way to turn off input monitoring for all tracks, including hidden tracks?

    Solved in post #6, click to view
    • 6 replies
    1. @Hakan_Glante, sure is!

      // Disable Input Monitoring on All Tracks
      sf.app.proTools.setTrackInputMonitorState({
          trackNames: sf.app.proTools.tracks.invalidate().allItems
              .map(track => track.name),
          enabled: false,
          onError: "Continue"
      });
      
      1. HHakan Glante @Hakan_Glante
          2025-05-01 16:47:02.574Z

          Thank you, @raphaelsepulveda!
          It works for Audio Tracks, but not for Instrument Tracks.

          1. The script does work on Instrument tracks but if they don't have an audio input assigned the script won't turn off their input monitoring.
            This is probably a PT bug.
            Be sure your Instrument track has an input assigned to it.

            1. HHakan Glante @Hakan_Glante
                2025-05-02 06:29:38.106Z2025-05-02 06:54:48.264Z

                @Chris_Shaw Unfortunately that doesn’t work for me.
                Related - another thing that’s weird about Instrument Tracks is that you can enable input monitoring even if there’s no input assigned.

                1. As Chris mentioned, there seems to be a PT discrepancy when handling Input Monitoring with Instrument tracks. That will need to be addressed by Avid.

                  In the meantime, here's a script that will turn off Input Monitoring on all Instrument tracks. You can put it right after the first script I posted. Downside is this is only able to handle Instrument tracks that are not hidden.

                  sf.ui.proTools.mainWindow.invalidate();
                  
                  sf.ui.proTools.visibleTrackHeaders.forEach(trackHeader => {
                      // Ensure track is an Instrument Track
                      if (!trackHeader.title.value.endsWith("Inst Track ")) return;
                  
                      // Identify Input Monitoring button
                      const inputMonitoringBtn = trackHeader
                          .buttons.whoseTitle.startsWith("Input monitoring").first;
                  
                      // Turn off Input Monitoring
                      if (inputMonitoringBtn.title.value.startsWith("Input monitoring is enabled")) {
                          inputMonitoringBtn.elementClick();
                      }
                  });
                  

                  Tested on Pro Tools 2024.10.2. May not work at all on other versions due to buttons named completely different.

                  Reply2 LikesSolution
          2. H
            In reply toHakan_Glante:
            Hakan Glante @Hakan_Glante
              2025-05-02 16:39:49.707Z

              @raphaelsepulveda Thanks a lot!