View previous topic :: View next topic |
Author |
Message |
kunalagon n00b
Joined: 09 Oct 2006 Posts: 14
|
Posted: Mon Oct 09, 2006 10:26 pm Post subject: midi playing problem (plays just one note, any midi file) |
|
|
I have some strange problem with midi. I read all 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 $ |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1877 Location: Switzerland (Romandie)
|
Posted: Wed Oct 11, 2006 9:40 am Post subject: |
|
|
What is the output of Code: | cat /proc/asound/card0/wavetableD1 |
Have you try to play the MIDI file with aplaymidi: Code: | aplaymidi --port=17:0 <midifile> |
_________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
kunalagon n00b
Joined: 09 Oct 2006 Posts: 14
|
Posted: Wed Oct 11, 2006 9:30 pm Post subject: wavetable |
|
|
here is output:
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 #
And with aplaymidi, I still here just one note for any file.
I dont know what is happening with that... |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1877 Location: Switzerland (Romandie)
|
Posted: Fri Oct 13, 2006 11:08 am Post subject: |
|
|
Sorry to be so late. I have no idea either. Maybe at it is better to ask on the alsa-user email list. _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
kunalagon n00b
Joined: 09 Oct 2006 Posts: 14
|
Posted: Fri Oct 13, 2006 5:48 pm Post subject: strange things...again |
|
|
Hello, If you are still aroud, I have to say something...
I boot-up KNOPPIX - Live CD , with same kernel and alsa-version as my Gentoo, and... I load soundfont, so I tried to play midi, and everything works, it plays perfectlly. So it is Gentoo related problem, and I dont know what is it ? |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1877 Location: Switzerland (Romandie)
|
Posted: Fri Oct 13, 2006 7:44 pm Post subject: |
|
|
What is the output of
You can do the same check on knoopix and compare. I don't know what it can be. You must be systematic. In you case, I will even check not only the sound drivers but all the drivers. It can append at a kernel load a wrong driver that will cause a conflict when another kernel will not do that on the same hardware.
When you said: "I (think) checked all midi and sound , alsa options for compile. ". Does that mean at you checked every option for your hardware or every options for all the hardwares? Note at if the kernel load a wrong driver, it can cause a conflict with the sound even if it is not a sound driver. It is enough if both use the PCI bus or the same memory or all that I don't know.
If nothing work, try another kernel, or a kernel without the sound drivers and the alsa-driver package. I don't know the 2.6.17-r8 kernel, but I know the 2.6.17-rt8 and it have some stability issues. And they have been solved only recently with the 2.6.18-rt3 and 5 because it was sommer time for the kernel guys. _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|