No MIDI devices in wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Klaus-Peter Schrage

No MIDI devices in wine

Post by Klaus-Peter Schrage »

I'd want to run the windows editor for my guitar preamp (VOX Tonelab SE)
which is connected to the MIDI in and out sockets of my soundcard. The
program installs and starts without any problems under wine but it can't
find any MIDI ports.

MIDI works fine otherwise in Linux - I can read from and write to the
sockets with arecordmidi and aplaymidi, but there are no MIDI devices
visible in winecfg. I can only see the Wave ins and outs of the
PulseAudio, Jack and Esound drivers in the audio tab (BTW, Pulse works
fine for me in wine).

I haven't fiddled with MIDI under wine for a long time now, but, if my
memory doesn't fool me, there used to be some MIDI devices.

Thanks in advance for any pointers.
Klaus

FWIW:
- Fedora 12
- wine-1.1.32 (from Fedora)
- alsa-lib-1.0.21-3.fc12.x86_64
- soundcard: Terratec DMX6Fire
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Try opening the sound tab in winecfg. It'll create a ALSA-based default configuration for you, which might automatically find the right MIDI channels.

If it doesn't, try using a soft synth solution like timidity or qsynth. I think these automatically pick up on MIDI-supporting sound cards, too, plus extra MIDI channels that will definitely be detected by Wine will be exposed.
Klaus-Peter Schrage

No MIDI devices in wine

Post by Klaus-Peter Schrage »

Am 01.01.2010 19:52, schrieb DaVince:
Try opening the sound tab in winecfg. It'll create a ALSA-based
default configuration for you, which might automatically find the
right MIDI channels.

If it doesn't, try using a soft synth solution like timidity or
qsynth. I think these automatically pick up on MIDI-supporting sound
cards, too, plus extra MIDI channels that will definitely be detected
by Wine will be exposed.
In winecfg's sound tab, there is no ALSA entry at all, perhaps that is
part of the problem (I get sound in Wine through Pulseaudio).
And using a soft synth doesn't help, because I want to address the MIDI
hardware of my soundcard.
But thanks anyway.
Klaus
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: No MIDI devices in wine

Post by vitamin »

Klaus-Peter Schrage wrote:In winecfg's sound tab, there is no ALSA entry at all, perhaps that is part of the problem (I get sound in Wine through Pulseaudio).
Pulseaudio knows nothing about MIDI and can't work with it. In Wine only ALSA backend driver supports MIDI.
Klaus-Peter Schrage wrote:And using a soft synth doesn't help, because I want to address the MIDI hardware of my soundcard.
You have to properly set everything up, including on the ALSA side too.
Klaus-Peter Schrage

No MIDI devices in wine

Post by Klaus-Peter Schrage »

Am 01.01.2010 22:16, schrieb vitamin:
Klaus-Peter Schrage wrote:
In winecfg's sound tab, there is no ALSA entry at all, perhaps that
is part of the problem (I get sound in Wine through Pulseaudio).
Pulseaudio knows nothing about MIDI and can't work with it. In Wine
only ALSA backend driver supports MIDI.


Klaus-Peter Schrage wrote:
And using a soft synth doesn't help, because I want to address the
MIDI hardware of my soundcard.
You have to properly set everything up, including on the ALSA side
too.
ALSA seems to be set up properly; my soundcard (DMX6Fire) is well
supported for a long time now, and everthing works for me as expected.

But I can't get an ALSA entry in winecfg (and so there is no MIDI);
sound in wine works via pulseaudio, and if I disable pa, the only sound
driver available in wine is jack.
Klaus
Klaus-Peter Schrage

No MIDI devices in wine [solved]

Post by Klaus-Peter Schrage »

Am 02.01.2010 14:28, schrieb Klaus-Peter Schrage:
Am 01.01.2010 22:16, schrieb vitamin:
Klaus-Peter Schrage wrote:
In winecfg's sound tab, there is no ALSA entry at all, perhaps that
is part of the problem (I get sound in Wine through Pulseaudio).
Pulseaudio knows nothing about MIDI and can't work with it. In Wine
only ALSA backend driver supports MIDI.


Klaus-Peter Schrage wrote:
And using a soft synth doesn't help, because I want to address the
MIDI hardware of my soundcard.
You have to properly set everything up, including on the ALSA side
too.
ALSA seems to be set up properly; my soundcard (DMX6Fire) is well
supported for a long time now, and everthing works for me as expected.

But I can't get an ALSA entry in winecfg (and so there is no MIDI);
sound in wine works via pulseaudio, and if I disable pa, the only sound
driver available in wine is jack.
Klaus
I found that the Fedora packagers don't include ALSA support by default
(they love Pulseaudio). Installing the additional wine-alsa package from
the Fedora repository solved the problem, and now my Tonelab editor
works as expected.
Klaus
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Re: No MIDI devices in wine

Post by DaVince »

Klaus-Peter Schrage wrote:And using a soft synth doesn't help, because I want to address the MIDI
hardware of my soundcard.
But thanks anyway.
Klaus
As I said, I believe timidity and fluidsynth actually do pick up on your hardware MIDI capabilities when they're found. They basically become a front-end / extra ports to access your MIDI from. Still, you're not seeing an ALSA entry and that's exactly your problem here.
Klaus-Peter Schrage

No MIDI devices in wine

Post by Klaus-Peter Schrage »

Am 03.01.2010 15:56, schrieb DaVince:
Klaus-Peter Schrage wrote:
And using a soft synth doesn't help, because I want to address the
MIDI hardware of my soundcard. But thanks anyway. Klaus
As I said, I believe timidity and fluidsynth actually do pick up on
your hardware MIDI capabilities when they're found. They basically
become a front-end / extra ports to access your MIDI from. Still,
you're not seeing an ALSA entry and that's exactly your problem
here.
As I wrote in another post, the absence of an ALSA entry was due to the
fact that, in Fedora's packaging of wine, ALSA ist not enabled by
default (which I didn't know). After installing the additional wine-alsa
package, ALSA comes up in winecfg as expected.
Klaus
Locked