View previous topic :: View next topic |
Author |
Message |
Tomator n00b
Joined: 14 Oct 2004 Posts: 26
|
Posted: Wed Mar 09, 2005 10:34 pm Post subject: [Solved] Sound Problem |
|
|
Hi! I am having some problems getting midi files to play. I have a SoundBlaster Audigy, and I followed the ALSA guide.
pmidi -l gives
Code: | Port Client name Port name
64:0 Audigy MPU-401 (UART) Audigy MPU-401 (UART)
64:32 Audigy MPU-401 (UART) Audigy MPU-401 #2
65:0 Emu10k1 WaveTable Emu10k1 Port 0
65:1 Emu10k1 WaveTable Emu10k1 Port 1
65:2 Emu10k1 WaveTable Emu10k1 Port 2
65:3 Emu10k1 WaveTable Emu10k1 Port 3
|
lsmod gives
Code: | Module Size Used by
snd_seq_midi 6816 0
snd_emu10k1_synth 7040 0
snd_emux_synth 36352 1 snd_emu10k1_synth
snd_seq_virmidi 6400 1 snd_emux_synth
snd_seq_midi_emul 7168 1 snd_emux_synth
snd_pcm_oss 49572 0
snd_mixer_oss 18176 1 snd_pcm_oss
snd_seq_oss 33024 0
snd_seq_midi_event 6528 3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq 51344 8 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event
snd_emu10k1 93444 1 snd_emu10k1_synth
snd_rawmidi 20512 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_seq_device 7180 7 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec 73952 1 snd_emu10k1
snd_pcm 86148 3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_timer 21764 2 snd_seq,snd_pcm
snd_page_alloc 7940 2 snd_emu10k1,snd_pcm
snd_util_mem 3712 2 snd_emux_synth,snd_emu10k1
snd_hwdep 7684 2 snd_emux_synth,snd_emu10k1
snd 48484 13 snd_emux_synth,snd_seq_virmidi,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep
fglrx 237152 9
sata_sis 4608 0
sata_sx4 11652 0
ipr 52256 0
sd_mod 12928 0
tiglusb 8260 0
agpgart 29228 0
|
I have a soundfont (I even put it into /usr/share/sfbank) which I loaded with asfxload.
Music controls in alsamixer are unmuted and set to 100; amixer shows:
Code: |
(Many entries before)
.
.
.
Simple mixer control 'Music',0
Capabilities: pvolume cvolume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 100 Capture 0 - 100
Front Left: Playback 100 [100%] Capture 0 [0%]
Front Right: Playback 100 [100%] Capture 0 [0%]
.
.
.
(Many entries after)
|
All the other sounds are fine. I can play mp3's, wav's, etc. The only thing wrong here is midi playback. I know I can get this to work with timidity, but it seems like it should work as it is. What am I missing?
Last edited by Tomator on Sun Mar 20, 2005 11:12 pm; edited 1 time in total |
|
Back to top |
|
|
mascanho Veteran
Joined: 21 Dec 2004 Posts: 1241 Location: On my Bmx Bike on a Concrete Park Flatlanding ...
|
Posted: Thu Mar 10, 2005 5:45 pm Post subject: |
|
|
try muting or unmuting output jack, it worked for me _________________ Flatland Life is a Choice !
emerge avatar |
|
Back to top |
|
|
Tomator n00b
Joined: 14 Oct 2004 Posts: 26
|
Posted: Thu Mar 10, 2005 11:31 pm Post subject: |
|
|
I just unmuted every single control and set them all to 100, but still no sound. |
|
Back to top |
|
|
mascanho Veteran
Joined: 21 Dec 2004 Posts: 1241 Location: On my Bmx Bike on a Concrete Park Flatlanding ...
|
Posted: Fri Mar 11, 2005 12:30 am Post subject: |
|
|
check your sound permissions then ...
and check all the sound managers like gnome kde aumix alsa, etc all those maybe one of those is still muted
what does etc/init.d/alsasound restart reply to you ??
and lspci ? _________________ Flatland Life is a Choice !
emerge avatar |
|
Back to top |
|
|
Tomator n00b
Joined: 14 Oct 2004 Posts: 26
|
Posted: Mon Mar 14, 2005 12:50 am Post subject: |
|
|
Sound permissions:
Code: |
crw-rw---- 1 root audio 14, 14 Dec 31 1969 admmidi
crw-rw---- 1 root audio 14, 12 Dec 31 1969 adsp
crw-rw---- 1 root audio 14, 13 Dec 31 1969 amidi
crw-rw---- 1 root audio 14, 4 Dec 31 1969 audio
crw-rw---- 1 root audio 14, 9 Dec 31 1969 dmmidi
crw-rw---- 1 root audio 14, 3 Dec 31 1969 dsp
crw-rw---- 1 root audio 14, 2 Dec 31 1969 midi
crw-rw---- 1 root audio 14, 0 Dec 31 1969 mixer
crw-rw---- 1 root audio 14, 1 Dec 31 1969 sequencer
crw-rw---- 1 root audio 14, 8 Dec 31 1969 sequencer2
|
The relevant sound managers are unmuted.
/etc/init.d/alsasound restart:
Code: |
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels... [ ok ]
* Unloading ALSA... [ ok ]
* Unloading ALSA modules... [ ok ]
* Loading ALSA modules...
* Loading: snd-card-0... [ ok ]
* Loading: snd-seq-oss... [ ok ]
* Loading: snd-pcm-oss... [ ok ]
* Loading: snd-emu10k1-synth... [ ok ]
* Loading: snd-seq-midi... [ ok ]
* Restoring Mixer Levels... [ ok ]
|
lspci:
Code: |
.
.
.
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:01:01.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
0000:01:01.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
.
.
.
|
Everything seems OK... |
|
Back to top |
|
|
mascanho Veteran
Joined: 21 Dec 2004 Posts: 1241 Location: On my Bmx Bike on a Concrete Park Flatlanding ...
|
Posted: Mon Mar 14, 2005 1:03 am Post subject: |
|
|
yes it seems the only thing i now think it may be is something you missed on your kernel or a USE that you should activate on the program you want to play midi , check those 2 , everything seems ok, try your kernel configuration and your USE _________________ Flatland Life is a Choice !
emerge avatar |
|
Back to top |
|
|
Tomator n00b
Joined: 14 Oct 2004 Posts: 26
|
Posted: Thu Mar 17, 2005 2:03 am Post subject: |
|
|
I checked the kernel configuration and sure enough, I did not have the MPU401 UART driver compiled.
So I compiled it as a module and made sure it loads at boot. Now I have another sound module loaded up, but still no MIDI playback.
When a MIDI is supposed to be playing, this is what "cat /proc/asound/card0/midi0" says:
Code: | Audigy MPU-401 (UART)
Output 0
Tx bytes : 7532
Mode : native
Buffer size : 4096
Avail : 4096
Input 0
Rx bytes : 0
|
And when I stop playing:
Code: | Audigy MPU-401 (UART)
Output 0
Tx bytes : 8003
Input 0
Rx bytes : 0
|
They're different, so something must be working right!
Unfortunately, there is still no sound. Are there other files I could check to get closer to the problem? |
|
Back to top |
|
|
Tomator n00b
Joined: 14 Oct 2004 Posts: 26
|
Posted: Sun Mar 20, 2005 11:17 pm Post subject: |
|
|
Actually, recompiling the kernel did the trick. Using a different soundfont and port 65:0 instead of 64:0,
I was finally able to extract midi sound from my speakers . Thanks for your help, mascanho! |
|
Back to top |
|
|
mascanho Veteran
Joined: 21 Dec 2004 Posts: 1241 Location: On my Bmx Bike on a Concrete Park Flatlanding ...
|
Posted: Mon Mar 21, 2005 12:22 am Post subject: |
|
|
you welcome, any time _________________ Flatland Life is a Choice !
emerge avatar |
|
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
|
|