<Sound Dev> MidiOutDeviceProvider and ALSA devices under GNU/Linux

Julian Casadesus julian at casadesus.com.ar
Tue Jun 24 06:50:02 PDT 2008


If i run on a terminal:
aconnect -o

i get this result:
julian at linux:~$ aconnect -o
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 128: 'TiMidity' [type=user]
    0 'TiMidity port 0 '
    1 'TiMidity port 1 '
    2 'TiMidity port 2 '
    3 'TiMidity port 3 '

However, when trying to get the channel list using the java sound api, 
the MidiOutDeviceProvider doesn't show me the same result.

On the other hand, if I load the kernel module "snd_virmidi", 
MidiOutDeviceProvider returns all the "VirMIDI 1-*" devices.

So, the question is:  Why is this happening? Is this the expected result?


More information about the sound-dev mailing list