MIDI control
A MIDI controller or keyboard can play instrument plug-ins, change plug-in parameters, bypass or mute nodes and switch presets. Enable it under MIDI inputs in Audio Settings.
Choose how to control a plug-in
There are two ways to control a plug-in from your controller:
- Connect MIDI to the plug-in. A MIDI Input node sends MIDI straight to the plug-in's amber input pin, and the plug-in decides what to do with it. Use this to play an instrument, and to use any MIDI mapping built into the plug-in.
- Use Curve's MIDI Learn. Curve reads the controller itself, then changes the plug-in's parameters, bypass or mute for you. This needs no MIDI Input node or connections. Use this for plug-ins with no amber input pin, and for bypass and mute.
MIDI Learn can only reach the parameters that a plug-in makes available to its host. Some plug-ins, especially large instruments, make only some of their controls available. If moving a control in the plug-in's window during MIDI Learn has no effect, Curve can't map that control.
If a plug-in has an amber input pin and its own MIDI learn feature, that's often the easier choice, because it can usually reach every control. Connect a MIDI Input node to the plug-in, then set up the mapping in the plug-in's window. Its manual explains how.
Use one method for each knob or button. A control mapped with Curve's MIDI Learn doesn't reach plug-ins through the MIDI Input node, so the plug-in won't respond to it.
Play an instrument plug-in
- Right-click the editor background and add your instrument plug-in.
- Right-click the editor background and select MIDI I/O > MIDI Input.
- Drag from the amber pin on the MIDI Input node to the amber pin at the top of the instrument. MIDI pins and connections are amber, and audio pins and connections are gray.
- Drag from the instrument's gray output pins to the Audio Output node.
- Select Save As Preset... to keep the setup.
Effect plug-ins that respond to MIDI connect the same way. To send MIDI from a plug-in to an external device, enable the device as the MIDI output in Audio Settings, then connect the plug-in's amber output pin to a MIDI Output node.
Map a control with MIDI Learn
- Click the menu icon at the top left of the editor and select MIDI Learn. The editor gets a highlighted border, and the status bar guides you.
- Choose what to control:
- For a plug-in parameter, open the plug-in's window and move the control. On Curve's own plug-ins, such as the Looper, click the button.
- For a node's bypass, click its power button.
- To mute a node, right-click it and select Mute.
- For the tempo, Tap or Start/Stop, click it in the editor's top bar, or in the Transport tool's window.
- Move a knob, fader or button on your controller. The mapping is made straight away, and you can carry on mapping other controls.
- Press Esc, or select MIDI Learn again, to finish.
Mappings are saved with the preset, so use Save As Preset... to keep them.
Remove a mapping
- To remove the mapping for the selected parameter, bypass or mute, press Delete during MIDI Learn.
- To remove all of a node's mappings, right-click it and select Clear MIDI Mappings.
- To move a control to another target, remove its old mapping, as mapping it again adds a target.
How mapped controls behave
- Knobs and faders (CC) cover a parameter's full range. You can narrow it in MIDI Mappings for Current Preset..., below.
- Notes and program changes toggle the target.
- For bypass and mute, and for on/off parameters such as Record, Curve works out whether a CC button is momentary, where each press toggles it, or latching, where it follows the button's state.
- One control can control several targets: map it again with MIDI Learn to add another. A control with several targets leaves the parameters of muted nodes alone, so in scenes one knob can control whichever instrument the scene uses.
- A knob or fader on the tempo sweeps 40 to 240 BPM, which you can narrow in MIDI Mappings for Current Preset.... A button on Tap taps the tempo, and one on Start/Stop starts and stops the transport.
Nodes with mappings show a small MIDI socket icon. Hover over the node to see its mappings in the status bar.
Mapped MIDI messages aren't passed on to plug-ins through the MIDI Input node. All other MIDI is.
Adjust a mapping
Click the menu icon at the top left of the editor window and select MIDI Mappings for Current Preset... to see the loaded preset's mappings. The window can stay open while you use MIDI Learn or switch presets. For each mapping you can set:
- Mode: Range, where a knob or fader sets the value; Toggle, where each press switches between two values; or Follow, where the target follows a button, on while it's held or latched.
- From and To: the values a knob or fader moves between. A narrower range gives finer steps, for example -20 dB to +6 dB on a Gain node. For Toggle and Follow, they're the off and on values. Type a value in the parameter's units, or a percentage such as 25%.
- Invert: reverses the control.
Bypass and mute mappings have no From and To. Click × to remove a mapping. Mappings are saved with the preset, so use Save As Preset... to keep your changes.
Switch presets from a controller
Select Settings > Preferences..., then the MIDI tab. These settings apply to all presets:
- Program Change Selects Preset: off by default. Program changes select presets in alphabetical order: program 1 loads the first preset, 2 the second, and so on. Numbers are as most controllers show them, from 1. MIDI itself sends one less, so a controller that shows 0 to 127 selects the first preset with 0.
- Program Numbers...: gives a preset a number of its own, so it doesn't change when presets are added or renamed. The other presets take the numbers that are left.
- Next Preset Control and Previous Preset Control: click MIDI Learn... next to one, then press the button on your controller that you want to use.
- Clear Preset Controls: removes both of those button assignments.
If the loaded preset maps the same control itself, the preset's mapping is used instead. Presets don't change from MIDI while a window such as Save As Preset... or Audio Settings is open.
App-wide controls
Under Plug-in Windows and Output in the same tab, you can map buttons that work in every preset:
- Show/Hide Windows: shows or hides the preset's plug-in windows together. See Plug-in windows.
- Mono, Dim and Mute Output: the output switches in the menu bar panel.
Click MIDI Learn... next to one, then press the button on your controller. Each press switches it on or off. Click Clear to remove it.
Controls on Curve's own plug-ins
| Plug-in | Controls |
|---|---|
| Gain | Gain and mute |
| Pan | Pan |
| Clipper | Ceiling |
| Stereo Utility | Mode and width |
| Headphone Crossfeed | Amount |
| Audio Recorder | Record start and stop, and Auto (start on sound) |
| Looper | Loop, Stop/Play, Undo/Redo, Clear, Loop Volume, Older Layers, Reverse and Half Speed |
| Player | Play/Pause, Stop, Next Track, Previous and Level |
| Metronome | Volume, Accent and Clicks |
| Music Remote | Play/Pause, Next Track and Previous Track |
| Score Viewer | Next Page and Previous Page |
Headphone Speaker Emulation, Invert Phase and the Mid/Side Encoder and Decoder have no settings, so map their bypass instead. Delay isn't mappable.