[LAU] beginning audio setup: sblive midi not working

Hein Zelle hein at icce.rug.nl
Sun Jun 3 13:26:57 EDT 2007


Hello Nigel,

> Ok. Does the usb midi keyboard otherwise work. For example, can you use it 
> with ZynAddSubFx. You need to just connect the keyboard to ZynAddSubFx in 
> qjackctl's midi connections if your using Etch or Lenny.

It works, if I connect it the first sequencer port of timidity it
plays beautifully.

> Have you tried with an earlier kernel, just in case you have made some error 
> with your, roll your own one?

Yes, but that one wasn't realtime.  I tried the stock debian 2.6.18
kernel (-4 I believe), same problem.  I haven't changed anything to
the kernel except applying the realtime patch, and turning on realtime
preemption and a 1000 hz timer.  I turned off paravirtualization, to
get the nvidia graphics driver to work.  None of that seems to be the
problem.

> btw. Which Debian version are you using?

Unstable, but my system isn't completely updated at the moment.  I can
try doing that, although I doubt it will fix this.

> If you are using KDE, you can use Kmid to check out if the midi is working.
> I've attached a file, if you don't have any midi ones.

The keyboard works with this setup (connected to timidity):


[hein] ~ :-) aconnect -lio
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
        Connecting To: 15:0, 128:0
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 16: 'SBLive! Value [CT4670]' [type=kernel]
    0 'EMU10K1 MPU-401 (UART)'
client 17: 'Emu10k1 WaveTable' [type=kernel]
    0 'Emu10k1 Port 0  '
    1 'Emu10k1 Port 1  '
    2 'Emu10k1 Port 2  '
    3 'Emu10k1 Port 3  '
client 20: 'MK-225C USB MIDI keyboard' [type=kernel]
    0 'MK-225C USB MIDI keyboard MIDI '
        Connecting To: 129:0
client 129: 'TiMidity' [type=user]
    0 'TiMidity port 0 '
        Connected From: 20:0
    1 'TiMidity port 1 '
    2 'TiMidity port 2 '
    3 'TiMidity port 3 '


If I connect it to the first emu10k1 port: dead silence

[hein] ~ :-) aconnect -lio
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
        Connecting To: 15:0, 128:0
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 16: 'SBLive! Value [CT4670]' [type=kernel]
    0 'EMU10K1 MPU-401 (UART)'
client 17: 'Emu10k1 WaveTable' [type=kernel]
    0 'Emu10k1 Port 0  '
        Connected From: 20:0
    1 'Emu10k1 Port 1  '
    2 'Emu10k1 Port 2  '
    3 'Emu10k1 Port 3  '
client 20: 'MK-225C USB MIDI keyboard' [type=kernel]
    0 'MK-225C USB MIDI keyboard MIDI '
        Connecting To: 17:0
client 129: 'TiMidity' [type=user]
    0 'TiMidity port 0 '
    1 'TiMidity port 1 '
    2 'TiMidity port 2 '
    3 'TiMidity port 3 '


> aplaymidi -p 65:0 robert_miles_-_children.mid

works with 129:0  (timitidy), dead silence with 16:0, 17:0, 17:1, 17:2
and 17:3.

It almost HAS to be something really stupid.  Does the sound font
matter?  I've tried both 8mbgmsfx.sf2  (I got that off internet, as I
don't have the sblive cd, and the friend who gave the card to me lost
it) and PC51f.sf2  (also from internet).  Is it possible I'm using the
wrong soundfont?  asfxload doesn't show any errors, and
/proc/asound/card0/wavetableD1 seems to indicate that the font is
loaded correctly.

Perhaps a mixer issue I'm not seeing?  The "Synth" channel is full open.

Thanks for your input,
       Hein Zelle


>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
 Hein Zelle                     hein at icce.rug.nl
	                        http://www.icce.rug.nl/~hein
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<



More information about the Linux-audio-user mailing list