Place the midi in application/control buffers instead of control IO.
JACK client library for PipeWire