Arturia Forums

Hardware Instruments => MicroFreak => MicroFreak - Technical Issues => Topic started by: rgarner on July 15, 2019, 06:11:01 pm

Title: HOWTO: Translate MF Polyphonic aftertouch to Channel Pressure in Logic Pro X
Post by: rgarner on July 15, 2019, 06:11:01 pm
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();
  }
}
Title: Re: HOWTO: Translate MF Polyphonic aftertouch to Channel Pressure in Logic Pro X
Post by: rgarner on November 18, 2019, 09:48:25 pm
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  :)