November 27, 2024, 08:23:56 am
Welcome, Guest. Please login or register
News:

Arturia Forums



Author Topic: HOWTO: Translate MF Polyphonic aftertouch to Channel Pressure in Logic Pro X  (Read 1480 times)

rgarner

  • Apprentice
  • *
  • Posts: 13
  • Karma: 0
There are some plugins that work really well with the MF aftertouch (Repro in particular is great). However a lot of plugins don't know what to do with the polyphonic messages. I've got a couple (Softube Modular, Alchemy) that expect Channel Pressure when they refer to "Aftertouch".

Here's a bit of Logic Scripter script you can paste into a MIDI FX Scripter plugin to (very crudely) translate Polyphonic Aftertouch to Channel Pressure, meaning you can use MF key expression in your older plugins:


function HandleMIDI(event)
{
  if(event instanceof PolyPressure) {     
    c = new ChannelPressure();
    c.value = event.value;
    c.send();
  } else {
    event.send();
  }
}
« Last Edit: July 15, 2019, 10:20:13 pm by rgarner »

rgarner

  • Apprentice
  • *
  • Posts: 13
  • Karma: 0
Welcome! I'm glad it was useful for you. I didn't try Alchemy or ES2 but I will now, so thank you in return  :)

 

Carbonate design by Bloc
SMF 2.0.17 | SMF © 2019, Simple Machines