MIDI
Plug in a controller, move a knob, and the input of a shader follows it. Studio listens to every MIDI device of your computer: controllers, keyboards, pads, and the software ones (the IAC bus of macOS, a virtual cable). Nothing is to be set up first; you tell an input which control drives it by moving that control.
In short
- Plug in your device. It appears in the MIDI view of the Resources activity.
- Right-click an input of the input controls and choose MIDI · Learn….
- Move a knob or a fader, press a button, or play a note. The input follows it.
To free the input, right-click it and choose Unbind.
Your devices
The MIDI view of Resources lists the devices, and works as the cameras do:
- A device is listed as soon as the system sees it, and the number on the view says how many there are. Studio looks once a second, so a device you plug in shows within a moment.
- The last message it sent shows under its name (
CC 74 · ch 1 · 0.79,Note C4 on · ch 1 · 1.00): use it to see that a control answers, and what it is. - A device you unplug stays in the list in red, and comes back to normal when you plug it in again. The trash icon on a red device forgets it.
- Two devices of the same name are told apart (
Launch Control XL,Launch Control XL #2). - The ports that a controller keeps for the control of a DAW (HUI, Mackie Control) are left out: they carry the protocol of the DAW, not what you play. The Launch Control XL, for instance, has a HUI port besides its own.
A device that another application holds open is listed, and listened to when it is free.
Learn a control
Right-click an input and choose MIDI · Learn…. The input is outlined in amber and says Move a control…. Then:
- Move a control (a knob, a fader, a wheel): Studio takes it once it has moved by a tenth of its travel. A control at rest is never perfectly still, and a fader that trembles is not taken before the one you move.
- Play a note, or press a pad: a note is taken at once.
The input says Learned and the control for a moment (CC 74 · ch 1), and it is bound to that control of that device: the same control number on another device does not drive it. Press Escape, or choose Stop learning, to give up. Only one input learns at a time: learning another one stops the first.
A bound input shows what it follows under its name, with a dot that lights when its control moves, and its own control is locked. A mark on the input in the inspector, and the number on the Bindings button, tell the same.
Free and Pro
The MIDI view, learning and the mouse are in Free, and so is OSC, with its own count of 4 inputs, which lets a control drive 4 inputs of a shader or a pipeline (a piece of a point or of a colour counts as one): enough to try a controller, for instance X and Y of a point and two faders. Pro has no limit. Past 4, MIDI · Learn… says so and waits for nothing. The bindings you have stay, and an input that has a control may learn another one. The mouse and the pen are not counted.
What a control does to an input
| Input | A control (CC) | A note |
|---|---|---|
float | The value, between its MIN and MAX. | The velocity, between MIN and MAX, while it is held; MIN once released. |
long | The option at that place of the control. | The option at that place of the velocity, while it is held. |
bool | On from the half of the control. | On while the note is held. |
event | Fires once when the control reaches the half. | Fires when the note is played. |
A color and a point2D have no single value: bind their pieces.
The pieces of a point and of a colour
A point2D has two pieces, X and Y, and a color four, R, G, B and A. Each piece is bound on its own, to its own control: X to one knob and Y to another, or the four channels of a colour to four faders.
Right-click the input: its menu has a submenu for each piece. Choose MIDI · Learn… in the one you want, move the control, then do the same for the next one. A piece that is bound shows its control in the menu, with Unbind.
A piece is a number between the MIN and MAX that the header gives it (0 to 1 when it gives none), and the other pieces keep their value. A point2D can also follow the mouse as a whole (Mouse / Pen · Position); that and its pieces exclude each other.
A button for each item of a list
A long input (a list) can be bound as a whole, to a control that travels over its items, and item by item: each item has a button of its own, a note or a control that gives the list that item when it is played, whatever the control of the whole list does. It is the way to pick scenes from the pads of a controller: one pad, one item.
Right-click the list: Buttons for the items has a submenu for each item, named as the LABELS of the header name it (or by its value when there are none). Choose MIDI · Learn… in the one you want, then play the note. A button that is bound shows its note in the menu, with Unbind. In the dialog below, each item is a line of its own, Alpha (button).
A note gives its item when it is played, and nothing when it is released: the list stays on that item. A control gives it when it reaches the half. A button counts as one binding for the Free edition, as any other.
A pad in toggle mode
Some pads are in toggle mode themselves: they send "on" the first time they are pressed and "off" the next one, so that every other press looks like a release and does nothing. For a switch (bool), a trigger (event) or the button of an item of a list, tick Toggle on the line of the binding in the Input Interactions dialog below: every message of the control is then a press. The switch flips, the trigger fires, the item is picked. A note is a press when it is played, and its release is ignored. Leave it unticked for a pad that sends "on" while it is held and "off" when it is let go.
The buttons of the presets
Each preset can be bound to a note or a control, to be recalled from the controller. See Bind a preset. It is not part of what a preset keeps: recalling a preset does not change which control recalls which.
The Input Interactions dialog
View > Input Interactions… (Shift+Cmd+K, or Shift+Ctrl+K on Windows and Linux), Interactions… in the right-click menu of an input, or Bindings in the header of the input controls opens the dialog. It lists what the inputs of the shader in front are bound to, and nothing else: the input or the piece, its source, the control and the device. Unbind frees one, Unbind all frees them all. A MIDI control that drives a switch, a trigger or a button of a list also has a Toggle box.
To add a binding there, choose the input (or one of its pieces) in the first list, what drives it in the second, and press Add. A search box appears when the list is long.
Where the bindings are kept
- They are written in the hidden
.isf-studiofolder of your library, beside the presets, and are there at the next launch. They follow the shader when you rename, move or copy it, and go to the trash with it. - They are part of the presets.
- They travel with the shader: a
.istshaderor an.istpipeyou export carries them. Whoever opens the file finds the inputs bound as you left them. A control is the one of your device: they have to learn it again for theirs.
Recording a video
A render replays a shader from a clock and cannot replay a knob you turned. When MIDI (or the mouse) drives an input, the export dialog proposes Record live, which films the preview as it plays, with your movements in it.
MIDI on Linux
Studio reads MIDI through ALSA, the sound system of Linux. On Ubuntu and most distributions it is there already; if the MIDI view says MIDI is not available, with a reason, check these two things:
- The ALSA library. Install it:
sudo apt install libasound2(the package is calledlibasound2t64on Ubuntu 24.04 and later). - The ALSA sequencer. MIDI goes through
/dev/snd/seq. If it does not exist, load it withsudo modprobe snd-seq, and make it permanent withecho snd-seq | sudo tee /etc/modules-load.d/snd-seq.conf. A virtual machine with no sound card (UTM, for instance) may not load it by itself.
When MIDI is not available, MIDI · Learn… is greyed out, with the reason, and the Input Interactions dialog says it at the top. Nothing waits for a control that cannot come. The mouse still works. Restart Studio once you have installed what was missing.
When it does not work
| What you see | Why |
|---|---|
| MIDI is not available, in the MIDI view. | The system gives no MIDI to Studio: see MIDI on Linux. |
| The device is not in the list. | Check that the system sees it (Audio MIDI Setup on macOS). Another application may hold it: close it, and the device comes back within a second. |
| Move a control… never ends. | Move the control further: it must travel a tenth of its range. Check that the device sends in the MIDI view, where its last message shows. |
| An input jumps to the same value whatever you do. | A control you left at rest, or another one of the same device, was learned: choose Unbind and learn again. |
| An input no longer follows after a change of device. | A binding belongs to the device it was learned on: learn it again on the new one. |
| The bindings of another shader are not applied. | They follow the shader in the preview: open it. |