How to Map MIDI Controller to OBS Studio Hotkeys
Using a MIDI controller to control OBS Studio is an excellent way to manage your live streams with physical buttons, faders, and knobs. While OBS Studio does not support MIDI input natively, you can easily bridge the gap using free third-party translation software. This guide will walk you through the step-by-step process of converting your MIDI signals into keyboard shortcuts (hotkeys) that OBS Studio can recognize, transforming your musical hardware into a custom stream deck.
What You Need
- A MIDI controller connected to your computer via USB.
- OBS Studio installed on your system.
- A MIDI-to-Keystroke translation tool. For Windows, Midikey2Key is a highly recommended free option. For macOS, MidiStroke works similarly.
Step 1: Install and Connect Your Software
- Plug your MIDI controller into your PC.
- Download and install your chosen MIDI translator (e.g., Midikey2Key).
- Open the translator software. It should automatically detect your connected MIDI controller. Select your controller as the active MIDI input device.
Step 2: Map MIDI Inputs to Keyboard Shortcuts
In this step, you will assign a specific button on your MIDI controller to act as a keyboard shortcut.
- In your MIDI translator software, turn on the “Listen” or “Log” function to detect incoming MIDI signals.
- Press the button or turn the knob on your MIDI controller that you want to use. You should see a MIDI command code appear on your screen.
- Select that command and choose the option to assign a Keyboard Action.
- Assign a unique, complex keyboard shortcut that you do not use
during normal PC operation (for example,
Ctrl + Shift + F1). - Save the mapping and repeat this process for all the buttons you want to use.
- Ensure the translation software remains open and running in the background.
Step 3: Configure Hotkeys in OBS Studio
Now that your MIDI controller is successfully sending keyboard inputs, you need to map those inputs to actions inside OBS Studio.
- Open OBS Studio.
- Go to Settings in the bottom-right corner, then select the Hotkeys tab on the left.
- Scroll through the list to find the action you want to control (such as “Switch to Scene,” “Mute Mic,” or “Start Streaming”).
- Click on the input field next to the desired action.
- Press the physical button on your MIDI controller. The software in
the background will instantly translate this into the assigned keyboard
shortcut, and OBS will register it (e.g., showing
Ctrl + Shift + F1in the field). - Click Apply and then OK to save your settings.
Alternative Method: Using the OBS-MIDI-MG Plugin
If you prefer not to use external translation software running in the background, you can use a direct OBS plugin.
- Download and install the OBS-MIDI-MG plugin from the official OBS Resources forum.
- Restart OBS Studio.
- Navigate to Tools > OBS-MIDI-MG Setup in the top menu.
- Enable your MIDI controller under the “Devices” tab.
- Go to the “Bindings” tab, press a button on your controller, and map it directly to OBS actions (like changing scenes or toggling sources) without needing to configure keyboard hotkeys at all.