How can I send a midi poly pressure message using Audiokit?

I am currently creating an application that is basically a synthesizer controller for my TI virus synthesizer. The virus allows you to configure most of the parameters using MIDI CC messages. Using Audiokit is very simple:

midiOutput.sendEvent(AKMIDIEvent(controllerChange: 17, value: SomeValue, channel: 1))

      

However, some parameters need to be set using the "Poly Pressure" messages. Each note is mapped to some parameter and the pressure value will be used to set the te parameter. It looks like a hack, but it is.

Now my problem is that I cannot find a way to send midi poly pressure messages as they don't seem to be available in the audio kit. (in other words: no pressure event type)

Question: is there a way to send pressure messages using audiokit? For example, can I create a new post type myself?

+3


source to share





All Articles