No internet connection
  1. Home
  2. How to

How to "tap tempo" in Pro Tools?

Asking for a friend.

Does any of you have any knowledge of whether there is a way to control Pro Tools' midi tempo (dynamically, in real-time) with a MIDI message or some other form of input (for example through a SF script)?
Maybe something through Ableton Link?

  • 1 replies
  1. Kitch Membery @Kitch2020-12-08 19:51:42.147Z

    Hi @chrscheuer,

    I made this script a while back for tapping tempo... if that is what your friend is after.

    const conductorBtn = sf.ui.proTools.mainWindow.midiControlCluster.buttons.whoseTitle.is('Conductor Track').first;
    
    if (conductorBtn.value.invalidate().value === "Selected") {
        conductorBtn.elementClick();
    }
    
    const midiCluster = sf.ui.proTools.mainWindow.midiControlCluster;
    
    if (!midiCluster.exists) {
        sf.ui.proTools.appActivateMainWindow();
    
        sf.ui.proTools.mainWindow.buttons.whoseTitle.is('ToolbarOptionsMenu').first.popupMenuSelect({
            menuPath: ["MIDI Controls"],
        });
        midiCluster.elementWaitFor();
    
        sf.ui.proTools.appActivateMainWindow();
    }
    
    const tempoValueField = sf.ui.proTools.mainWindow.midiControlCluster.textFields.whoseTitle.is('Tempo value').first;
    
    if (!tempoValueField.isFocused) {
        tempoValueField.elementClick();
    }
    
    sf.keyboard.press({
        keys: 't',
    });