linux, midi and wine

Michael at

on linux:
(in this case ubuntu studio but want to keep the question general because I use other distros too)

How do I get jack, pulseaudio and wine to play nice with each other?

wine audio seems to be blocked when any linux music software is also running.

This problem came up when I tried to send midi from Rosegarden to an application running in Wine (wanted to see if Openmpt can work with midi input)

It looks like midi data does get there but openmpt seems to be stuck unable to play audio while any linux apps using jack are running.
(normally audio works fine in openmpt and wine generally so guessing the problem is something to do with the way pulseaudio and jack interact -
so maybe looking for jack/pulseaudio/alsa config tips)