[LAU] beginning audio setup: sblive midi not working

Hein Zelle hein at icce.rug.nl
Sun Jun 3 09:20:22 EDT 2007


Hello list,

I'm new to audio recording, and have a couple of unsolved questions
after getting my basic setup working.  I've searched the archives
using google (is there a list-specific search somewhere?), but haven't
found a solution.  I'm currently using

- pc with sblive! soundcard
- 2.6.20-rt8 kernel, by patching stock debian kernel 2.6.20
- external evolution usb midi keyboard
- external 4-channel mixer
- timidity as a soft-synth
- ardour 2.0 for audio recording
- rosegarden for midi recording.
- jack + qjackctl to connect it all

All that seems to work reasonably well, and since the realtime kernel
there are no noticeable latency problems.  I do get the occasional
xrun (about once every 5 minutes or so) but it hasn't been
bothersome.

The thing I cannot get to work is midi playing through the sblive
soundcard.  I've followed countless howto's, yet all I get is dead
silence.  The card works for normal audio, all modules including
snd_emu10k1_synth and snd_emux_synth.  I've tried loading the
soundfont like so

aweset -v init          ->   initializing AWE chip
asfxload 8mbgmsfx.sf2

It seems to work if I inspect /proc/asound/card0/wavetableD1:

Device: Emu10k1
Ports: 4
Addresses: 17:0 17:1 17:2 17:3
Use Counter: 1
Max Voices: 64
Allocated Voices: 61
Memory Size: 134217728
Memory Available: 126721308
Allocated Blocks: 528
SoundFonts: 1
Instruments: 1849
Samples: 526
Locked Instruments: 1849
Locked Samples: 526

But all that comes out is dead silence, wether I route the keyboard to
the soundcard or try through rosegarden.  Here's the output of
aconnect -lio just after loading the soundfont:

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
        Connecting To: 15: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 '

I've tried to connect 20:0 to 16:0, and also to 17:0,1,2,3, to no
avail.  What should I be connecting?  Any other hints as to why my
sblive card won't play midi?

Here's the output of lspci -v:

00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 04)
        Subsystem: Creative Labs CT4850 SBLive! Value
        Flags: bus master, medium devsel, latency 32, IRQ 17
        I/O ports at a400 [size=32]
        Capabilities: [dc] Power Management version 1

Any help will be much appreciated.

Kind regards,
     Hein Zelle

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



More information about the Linux-audio-user mailing list