how to remap a scaled MIDI CC data (from an expression pedal)

Tim Canfer's icon

I have an annoyingly non linear expression pedal, which is easily corrected using the scale object, however I cannot figure out how to then create a midi CC message that is itself mappable (to the chain select in an effect rack for example...)

It feels like this has an annoyingly simple solution that I just cannot see at the moment - I have scanned for similar posts and tutorials, but to no avail. Hope that someone can help...

Jan M's icon

Hi Tim
As this is the M4L forum ; are you scaling the MIDI values inside a M4L devevice? If yes - you can only map midi messages that Live receives directly - not when they are generated in a M4L device.
Best would be to scale in a separate Max Patch and send the Cc messages to Live via a virtual Midi port (on MacOs you can use the "from Max" port or create a virtual port in the MacOs Audio/Midi setup).
If you don't have a full Max Lisense you could do that in a device on a separate track, then send the Cc mesage from the track out a virtual port and Live recieves it back from there.

Tim Canfer's icon

Hi Jan,

Thank you for your quick reply, that is really helpful.. Yes, in M4L and unfortunately I have not had the need or means to upgrade my vs max7, but would prefer to keep in Live if possible.

I have tried to create a virtual port using the IAC driver (mac - High Sierra) and send the messages via that using ctlout, but despite going over all the different MIDI settings that I could think of, had not been able to get anything mapped as yet.

My test patch is just a dial and a ctlout object (renaming the IAC Driver to IAC_Driver in MIDI settings and using the syntax [ctlout IAC_Driver]). While I get outgoing midi on the track - nothing comes up in mapping mode. Any more help greatly appreciated. Thanks again