Sharing audio and Midi between processes on the same machine

Is there a solid, stable way to transmit audio and midi buffers from a process to another running on the same computer? For example from an effect plugin to an instrument plugin.
Maybe using the InterprocessConnection class? Any examples around?