A mouse moves exactly one slider. A hand on a MIDI controller moves three, while the other one switches the preset. If you run an LED show live instead of just playing it back, that is what you want: push the tempo, turn the colour, change the look, without looking at the screen.
Since version 1.1.2, PixDrive Studio understands MIDI controllers. We tested with the Akai Professional LPD8: eight knobs, eight pads, one USB cable. This post shows what you can do with it, how to set it up in a few minutes and which settings matter when you are live.
What a MIDI controller can do in PixDrive
- Move effect parameters: speed, density, size, colour – anything an effect offers as a parameter.
- Recall presets: a pad applies a preset, which is a saved look.
- Run the show: play, pause and stop on buttons, master brightness on a knob.
- A different assignment per preset: the same knob controls the tempo in one look and the hue in the next.
MIDI controllers are part of external control and need a licence, like REST and OSC. Learning controls is locked in the demo.
The Akai LPD8 in brief
The LPD8 is one of the smallest and cheapest pad controllers: as wide as a laptop keyboard, powered over USB, no driver needed. Its layout suits LED shows well.
| On the LPD8 | In PixDrive | Good for |
|---|---|---|
| 8 knobs | knob1 to knob8 |
Effect parameters, master brightness |
| 8 pads | button1 to button8 |
Presets, playback, switching banks |
The LPD8 has several modes. For PixDrive, use PAD mode: the pads then send notes, and PixDrive recognises them as buttons by itself. They also work in CC mode, but then you have to set the type to “Button” by hand. PixDrive does not evaluate program change messages.
Set up in five minutes
- Plug in the LPD8 over USB. PixDrive looks for ports every two seconds, so the app does not need a restart.
- Open Settings → External Control → MIDI controllers and switch on Enable MIDI.
- Click Add control. PixDrive now waits for you to move a knob or press a button.
- Turn the first knob. It appears in the list as
knob1. - Repeat this for the other seven knobs and the eight pads. The pads are named
button1tobutton8. - Give individual controls an action: master brightness on a knob, for example, and stop on a pad.
You learn each control exactly once. Everything else refers to its name, never to a MIDI number. If you swap the controller later, you learn the layout again and your presets keep working.
The two parts are stored separately: the controls belong to the computer the controller is plugged into, their actions are in the project. The docs article MIDI controllers covers every setting in detail.
Effects respond right away
After learning the controls there is nothing else to assign. The built-in effects follow one rule: speed is on knob1, the next numeric values on the following knobs, switches and option lists on buttons.
Start an effect and turn the first knob: the tempo follows. The knob controls the effect you selected in the interface, or else the one started last.
This also works in the Sequencer. While a show is playing, the knobs move the segments under the playhead. The change acts like a change in the interface and is not saved into the sequence.
Decide per preset what the knobs do
The defaults are enough to get started. For a show you want to say more exactly what each knob moves. You set that per preset:
- Right-click a preset (or click the sliders icon next to it) to open MIDI controls.
- The dialog lists every effect of the preset with its parameters.
- Click Learn on a parameter and move the control you want.
- Under Options, set how the knob behaves.
| Option | What it does |
|---|---|
| From / To | The knob only covers part of the range, say tempo 0.5 to 2 instead of 0 to 5 |
| Curve | Linear, fine at the low end or fine at the high end |
| Invert | Turning right makes the value smaller |
| Button | Follows the pad, toggles on each press or picks the next option of a list |
| Soft takeover | The value only follows once the knob reaches it |
Colours show up as three rows: hue, saturation and brightness. Put the hue on a knob and one turn takes you around the colour wheel.
Apply this preset with picks a pad that recalls the look. One knob may move several parameters at once, even across several effects of a preset. That turns a single twist into “faster, brighter, tighter”.
Soft takeover: why nothing jumps
The LPD8’s knobs are not endless encoders; they have a left and a right stop. So every knob always sits somewhere, and after a preset change that position rarely matches the new value.
Without protection, the tempo would jump to the knob’s position the moment you touch it. Soft takeover prevents that: the parameter only follows once the knob has reached or passed its current value. In the dark that means: sweep the knob through its travel, and it catches from the pick-up point.
Leave soft takeover on for the LPD8. Only switch it off for motor faders, which move to the right position by themselves.
Banks: more parameters than knobs
Eight knobs fill up fast. A preset with three effects easily has fifteen parameters. That is what banks are for: each mapping in the preset gets a bank number, and a pad with the action Next bank switches. The same eight knobs then work the second group of parameters.
After switching, soft takeover starts over, because the knobs now mean something else.
A layout for the LPD8
With this assignment, eight knobs and eight pads carry a whole evening. The table is a suggestion, not a rule:
| Control | Assignment |
|---|---|
| Pads 1–6 | Recall six presets |
| Pad 7 | Next bank |
| Pad 8 | Stop |
| Knob 1 | Speed (the effects’ default) |
| Knobs 2–7 | Parameters of the active preset |
| Knob 8 | Master brightness |
Master brightness sits at the far right for a practical reason: you find it without looking.
Put your own effects on the controller
If you write your own effects in Lua, you choose the default control yourself. The parameter form in the script editor has a MIDI control field for it. In the code it is control in the @params line:
-- @params: [{"id":"tempo","name":"Tempo","description":"Speed of the effect","param_type":{"type":"Float","config":{"default":1.0,"min":0.0,"max":5.0,"step":0.1,"unit":null}},"automatable":true,"control":"knob1"}]
Again this is a name, not a MIDI number. Your script therefore works on any controller that has a knob1 learned. How to create a script is covered in Custom effects with Lua.
Other controllers
The LPD8 is the device we tested with, but the feature is not tied to it:
- Endless encoders: choose one of the three relative variants under Encoding. If a knob jumps or only moves one way, try the next one.
- 14-bit faders resolve more finely than the usual 128 steps.
- Motor faders, LED rings and button lights: with Send to the controller, the controller shows where the parameters are. The option is off by default, because some devices send received values back.
- No controller at hand: over OSC you reach the same controls with
/pixdrive/control/<name>and a value from 0 to 1, for example from TouchOSC. More in the REST and OSC documentation.
Checklist
- Put the LPD8 in PAD mode and plug it in over USB.
- Enable MIDI under Settings → External Control.
- Learn eight knobs and eight pads.
- Assign master brightness and stop as actions.
- Set up the MIDI controls per preset with a right-click.
- Leave soft takeover on.
- Use banks for more than eight parameters.
You can download PixDrive Studio for free and try it with your own LEDs. MIDI control needs a licence.