Using MIDI Scripter to control plug-in parameters (and more) using a MIDI controller or any other MIDI
Using MIDI Scripter, you can use this preset to map any incoming MIDI to any other MIDI parameter, or plug-in Parameter, pitch, velocity, etc.
This works on both Logic Pro for Mac and iPad. It’s particularly useful on the iPad as Logic Pro for the iPad doesn’t have built in MIDI mapping, unlike the Mac version. It’s also useful on the Mac however, as you can set up custom channel strips with complex mapping for instruments.
So you can easily, for example, map a MIDI controllers knobs to specific plug-in parameters. Knob 1 to control filter cut-off, Knob 2 to control resonance, etc.
You can also insert another MIDI fx before it to convert, say, a MIDI LFO into any other parameter.
You can also use it to map multiple parameters, scaled, at once, to multiple targets. Turning Knob 1 on your MIDI controller can simultaneously control resonance in a synth, filter cutoff in a filter plug-in and reverb time in another all at the same time from one controller.
It can learn the target parameter by twiddling the controller in the plugin panel. You can assign parameters from any plug-in in the track — Instruments and effects. After selecting Learn Plug-in parameter, Just tap the plug-in widget under the scripter UI to switch to the plug-in you want and touch the parameter you want to learn.
You can scale the Min and Max values and swap them over to invert the controller.
The attached script auto assigns controllers 12-19 to the inputs (you can change this if you edit the code on the Mac — No code editing possible on iPad). You can also change the number of input/target pairs by changing the line:
Line 24: var TOTAL_TARGETS = 8;
Change that value to the number of pairs you want.
NB: You can record the MIDI normally. Just press record and twiddle the controller. The data will be saved as its original value. For example, if you map CC12 to ES-2 Filter Cut-off and record your playing and tweaking, Logic will record CC12 data. The scripter needs to be on to convert the data during playback.
It’s easy to edit the controller data in the piano roll.
Apart from obvious things like mapping the knob on you MIDI controller to a plug-in parameter, you can do things like convert Pitch Bend to Delay feedback. Convert Velocity to filter cut-off. Use your mod wheel to pitch bend.
You can also use it with the modulation MIDI plugins to use MIDI LFOs/etc across multiple parameters simultaneously, each with their own scale and direction.
Or even convert LFO values to Notes, Pitchbend or aftertouch…
Much of the code comes from scripts that ship with Logic for Mac.
Leave a Reply
Want to join the discussion?Feel free to contribute!