Hello,
Thanks for your prompt response!
> Perhaps, TiMidity++ ALSA sequencer interface has been running as a
> system service (like this: timidity -Os -iA) on Debian Wheezy/Jessy.
The default timidity-daemon that is run by debian has the following parameters:
-B2,8 -Os -iAD
> Please try out adding "-B2,8 -q0/0" options. The fragment size is
> adjustable. The smaller number gives better real-time response.
> Adding "-B2,9" might be a good idea.
If I run the daemon with the parameters you've given:
$ timidity -iA -B2,9 -q0/0 -Os --sequencer-ports=1 -EFresamp=1
Requested buffer size 4096, fragment size 2048
ALSA pcm 'default' set buffer size 30104, period size 15052 bytes
TiMidity starting in ALSA server mode
Opening sequencer port: 129:0
Requested buffer size 4096, fragment size 2048
ALSA pcm 'default' set buffer size 30104, period size 15052 bytes
$ aplaymidi -p 129:0 filename.mid
There's still jitter. Even setting the number of fragments to 'maximum' (or
minimum) (-B0) doesn't seem to have any effect. I've played around with the
audio buffer size (-q) as well. Setting a smaller buffer seems to make it
somewhat better, but still not as it should be.
However, I've noticed that my /etc/asound.conf might have something to do with
it. I have the following set there:
pcm.dmixer {
type dmix
ipc_key 2 #unique IPC key
ipc_key_add_uid TRUE
slave {
pcm "hw:Intel"
#period_time 0 #in useconds
period_size 4096 #in bytes
buffer_size 131072 #in bytes
rate 48000
format S32_LE
}
bindings {
0 0
1 1
}
hint {
show on
description "Default sink for multiple (resampled) streams."
}
}
I resample everything to 48kHz by default, as for some reason 44.1 sounds
really distorted on my integrated DAC. Could that have something to do with it?
Kind regards,
Bill Carson
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Timidity-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/timidity-talk