If I understand the Wiki correctly, you need to use the Alsa driver with Wine to show the MIDI devices in winecfg.
You can switch to the Alsa driver with:
To use PulseAudio/ Pipewire again, use:
Although the devices are not visible in winecfg, several MIDI programs work with Wine (with the Pulseaudio driver) when I start Fluidsynth with:
Code: Select all
fluidsynth -l -s -i -a pulseaudio -m alsa_seq -g 1 -o midi.autoconnect=1 /usr/share/sounds/sf2/TimGM6mb.sf2
A new MIDI device is also visible when a
program uses MIDI:
Code: Select all
$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
128:0 FLUID Synth (16648) Synth input port (16648:0)
129:0 WINE midi driver WINE ALSA Input
$ aconnect -l
client 0: 'System' [type=kernel]
0 'Timer '
Connecting To: 144:0, 146:0
1 'Announce '
Connecting To: 144:0, 146:0, 128:0
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
Connecting To: 128:0, 129:0
Connected From: 129:1
client 128: 'FLUID Synth (16648)' [type=user,pid=16648]
0 'Synth input port (16648:0)'
Connected From: 0:1, 14:0, 129:1
client 129: 'WINE midi driver' [type=user,pid=16839]
0 'WINE ALSA Input '
Connected From: 14:0
1 'WINE ALSA Output #5'
Connecting To: 14:0, 128:0
client 144: 'PipeWire-System' [type=user,pid=2748]
0 'input '
Connected From: 0:1, 0:0
client 145: 'PipeWire-RT-Event' [type=user,pid=2748]
0 'input '
client 146: 'PipeWire-System' [type=user,pid=8643]
0 'input '
Connected From: 0:1, 0:0
client 147: 'PipeWire-RT-Event' [type=user,pid=8643]
0 'input '