|
No sound with Timidity++ server and ALSA.
Hello All,
I suppose I'm missing something obvious but ... I have two different machines both running Debian Etch (4.0) with kernel 2.6.20.7 (if that matters). One is a Dell with a 2GHz Pentium 4 and an integrated Intel 82801BA-ICH2 sound card/chip, the other is an HP with a 3GHz Pentium 4 and a SoundBlaster PCI 128 (basically an early SB Live! card). On both machines sound works fine except for playing MIDI files ... sort of. With the Intel 82801BA I have no choice but to use a software synth to play MIDI files. On the other machine I could use the hardware wave table but I can't find any sf2 files I like while with Timidity I have a much better selection so I use Timidity there too. On both machines I can use Timidity from the command-line. That is:
prompt> timidity ghostbusters.mid
plays fine. But if I do:
prompt> timidity -iA -B8,2 -Os &
[3] 1857
Requested buffer size 128, fragment size 16
ALSA pcm 'default' set buffer size 7524, period size 3760 bytes
TiMidity starting in ALSA server mode
Opening sequencer port: 128:0 128:1 128:2 128:3
propmt> aplaymidi --port 128:0 ghostbusters.mid
Requested buffer size 128, fragment size 16
ALSA pcm 'default' set buffer size 7524, period size 3760 bytes
I get no sound. The system sort-of looks like it's trying to play in that 'top' shows timidity using a reasonable amount of CPU but there is no sound and aplaymidi never finishes. Just for completeness, lsmod | grep snd on the box with the Intel 82801BA shows:
snd_rtctimer 2720 2
snd_seq_virmidi 5120 0
snd_seq_dummy 2820 0
snd_seq_oss 27264 0
snd_seq_midi 6272 0
snd_rawmidi 18432 2 snd_seq_virmidi,snd_seq_midi
snd_seq_midi_event 6016 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 42224 11 snd_seq_virmidi,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device 6284 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_intel8x0 27676 2
snd_ac97_codec 86688 1 snd_intel8x0
ac97_bus 2048 1 snd_ac97_codec
snd_pcm_oss 36864 0
snd_mixer_oss 13440 1 snd_pcm_oss
snd_pcm 65288 4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 18180 4 snd_rtctimer,snd_seq,snd_pcm
snd 41476 15 snd_seq_virmidi,snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_o ss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 6112 1 snd
snd_page_alloc 7432 2 snd_intel8x0,snd_pcm
rtc 7056 1 snd_rtctimer
What am I missing? Any help would be appreciated.
Cheers
Leland
|