Evighetens Mørke wrote, On 2006-10-14 01:30: > I have some strange problem with midi. I read all gentoo.org > <http://gentoo.org> documentation, and all wiki.gentoo documentation, > and no success. > > I have Sound Blaster Live 5.1, emu10k1. > > A have kernel 2.6.17-r8, and I (think) checked all midi and sound , alsa > options for compile. > > A installed asfxload , and when I load SF2 sound font file, and when I > start some program for playing midi, and choose some midi file (kmid for > example), only I hear is ONE NOTE (I think it is piano). It does not > mather what mid file I play, any midi when I try to play, I hear only > one note, and after that one note, player still playing that file. > I load sonundfont with command asfxload something.sf2. > > So, here is some of my configuration and other information > > sorg@euforia /proc/asound $ cat /proc/asound/devices > 0: [ 0] : control > 1: : sequencer > 4: [ 0- 0]: hardware dependent > 6: [ 0- 2]: hardware dependent > 8: [ 0- 0]: raw midi > 9: [ 0- 1]: raw midi > 10: [ 0- 2]: raw midi > 16: [ 0- 0]: digital audio playback > 18: [ 0- 2]: digital audio playback > 19: [ 0- 3]: digital audio playback > 24: [ 0- 0]: digital audio capture > 25: [ 0- 1]: digital audio capture > 26: [ 0- 2]: digital audio capture > 33: : timer > sorg@euforia /proc/asound $ > > > > sorg@euforia /proc/asound $ cat version > Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22 > 10:27:24 2006 UTC). > sorg@euforia /proc/asound $ > > sorg@euforia /proc/asound $ aplaymidi -l > Port Client name Port name > 14:0 Midi Through Midi Through Port-0 > 16:0 EMU10K1 MPU-401 (UART) EMU10K1 MPU-401 (UART) > 17:0 Emu10k1 WaveTable Emu10k1 Port 0 > 17:1 Emu10k1 WaveTable Emu10k1 Port 1 > 17:2 Emu10k1 WaveTable Emu10k1 Port 2 > 17:3 Emu10k1 WaveTable Emu10k1 Port 3 > sorg@euforia /proc/asound $ > > > sorg@euforia /proc/asound $ cat /proc/asound/oss/sndstat > Sound Driver:3.8.1a-980706 (ALSA v1.0.11rc4 emulation code) > Kernel: Linux euforia 2.6.17-gentoo-r8 #6 SMP Thu Oct 5 10:10:49 CEST > 2006 i686 > Config options: 0 > > Installed drivers: > Type 10: ALSA emulation > > Card config: > SB Live 5.1 [SB0220] (rev.10, serial:0x80651102) at 0xd400, irq 169 ^^^^^^^ > > Audio devices: > 0: ADC Capture/Standard PCM Playback (DUPLEX) > > Synth devices: > 0: Emu10k1 > > Midi devices: > 0: EMU10K1 MPU-401 (UART) > > Timers: > 7: system timer > > Mixers: > 0: eMicro EM28028 > sorg@euforia /proc/asound $ I don't like the look of your IRQ setting. Could this be a hardware problem? My output looks like: # cat /proc/asound/oss/sndstat Sound Driver:3.8.1a-980706 (ALSA v1.0.13 emulation code) Kernel: Linux victoria 2.6.18 #3 SMP PREEMPT Sun Oct 1 05:32:21 CST 2006 i686 Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: SB Live 5.1 [SB0220] (rev.10, serial:0x80651102) at 0xe400, irq 12 Audio devices: 0: ADC Capture/Standard PCM Playback (DUPLEX) Synth devices: 0: Emu10k1 Midi devices: 0: EMU10K1 MPU-401 (UART) Timers: 7: system timer Mixers: 0: eMicro EM28028 > > > here is output of cat /proc/asound/card0/wavetableD1 > > localhost bin # cat /proc/asound/card0/wavetableD1 > Device: Emu10k1 > Ports: 4 > Addresses: 17:0 17:1 17:2 17:3 > Use Counter: 0 > Max Voices: 64 > Allocated Voices: 0 > Memory Size: 134217728 > Memory Available: 130191678 > Allocated Blocks: 489 > SoundFonts: 1 > Instruments: 3560 > Samples: 488 > Locked Instruments: 3560 > Locked Samples: 488 > localhost bin # # cat /proc/asound/card0/wavetableD1 Device: Emu10k1 Ports: 4 Addresses: 17:0 17:1 17:2 17:3 Use Counter: 0 Max Voices: 64 Allocated Voices: 0 Memory Size: 134217728 Memory Available: 126801544 Allocated Blocks: 527 SoundFonts: 1 Instruments: 1849 Samples: 526 Locked Instruments: 1849 Locked Samples: 526 I have the same model sound card (SB0220), and have it working fine. Could it be that you have a corrupt soundfont? # md5sum /usr/share/sounds/sf2/*.sf2 568ddfaa56db2bb45fc96e28dcc711ad /usr/share/sounds/sf2/8mbgmsfx.sf2 # ls -al /usr/share/sounds/sf2/*.sf2 -rwxr-xr-x 1 root root 7557598 2005-12-26 13:03 /usr/share/sounds/sf2/8mbgmsfx.sf2 For completeness, these are the snd* modules loaded: # lsmod|grep snd snd_rtctimer 3500 0 snd_emu10k1_synth 7904 0 snd_emux_synth 33664 1 snd_emu10k1_synth snd_seq_virmidi 7264 1 snd_emux_synth snd_seq_midi_emul 6080 1 snd_emux_synth snd_seq_dummy 3876 0 snd_seq_oss 30688 0 snd_seq_midi 9184 0 snd_seq_midi_event 6976 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi snd_seq 50416 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_emu10k1 108576 2 snd_emu10k1_synth snd_rawmidi 23712 3 snd_seq_virmidi,snd_seq_midi,snd_emu10k1 snd_ac97_codec 88804 1 snd_emu10k1 snd_ac97_bus 2432 1 snd_ac97_codec snd_pcm_oss 45792 0 snd_mixer_oss 16288 1 snd_pcm_oss snd_pcm 76164 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss snd_seq_device 7916 8 snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi snd_timer 22148 4 snd_rtctimer,snd_seq,snd_emu10k1,snd_pcm snd_page_alloc 9992 2 snd_emu10k1,snd_pcm snd_util_mem 5056 2 snd_emux_synth,snd_emu10k1 snd_hwdep 9316 2 snd_emux_synth,snd_emu10k1 snd 55372 22 snd_rtctimer,snd_emu10k1_synth,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_util_mem,snd_hwdep soundcore 9664 1 snd rtc 12596 1 snd_rtctimer Arthur. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user