[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: playing midi with timidity



Please,

when I try to play sound with alsa under a 2.6 kernel, the quality is
awful, the system seems to repetitively play little snatchs of my tune
over and over, superimposing some of the sound on top of what it has
already played.

Essentially my perl script is:

system("timidity -L /usr/share/timidity -Ou -o$au_file $midi_file > /tmp/timidity 2> /dev/null");

system("play -v $volume $au_file ");	

lsmod | grep snd:

snd_seq_oss            34656  0 
snd_seq_midi            8576  0 
snd_seq_midi_event      7680  2 snd_seq_oss,snd_seq_midi
snd_seq                53872  6 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_ens1371            24932  0 
snd_rawmidi            25124  2 snd_seq_midi,snd_ens1371
snd_seq_device          8200  3 snd_seq_oss,snd_seq_midi,snd_rawmidi
snd_pcm_oss            55080  0 
snd_mixer_oss          20096  1 snd_pcm_oss
snd_pcm                98728  2 snd_ens1371,snd_pcm_oss
snd_page_alloc         11752  1 snd_pcm
snd_timer              25732  2 snd_seq,snd_pcm
snd_ac97_codec         69988  1 snd_ens1371
snd                    57156  13 snd_seq_oss,snd_seq_midi,snd_seq_midi_event,snd_seq,snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_ac97_codec
soundcore              10336  1 snd
gameport                4704  1 snd_ens1371

If I revert to a 2.2 kernel and use the oss drivers, everything is
fine.

But with 2.6 and alsa I can use mplayer and listen to BBC Radio 3, no
problem.

Stuck.


-- 
Joe Mc Cool CEng, SMIEEE
========================================================================
Tangent Computer Research BT71 7LN (www.tangent-research.com)
voice:(44)2837-548074mob:(44)7802-572441



Reply to: