From: TAMUKI S. <ta...@li...> - 2014-08-25 01:53:32
|
Hello, From: Bill Carson <bil...@ou...> Subject: [timidity-talk] Out of sync playback with ALSA sequencer on Debian Date: Sun, 24 Aug 2014 12:29:01 +0200 > If I play the files without using the ALSA server: > > timidity -Os filename.mid > > the playback is fine. If I play the files with the ALSA server: > > aplaymidi -p 128:0 filename.mid > > there is a lot of jitter and the notes are out of sync. This happens > both with aplaymidi as with other applications (e.g. games running in > dosbox and wine). Perhaps, TiMidity++ ALSA sequencer interface has been running as a system service (like this: timidity -Os -iA) on Debian Wheezy/Jessy. 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. $ timidity -iA -B2,9 -q0/0 --sequencer-ports=1 -EFresamp=1 & ... Requested buffer size 4096, fragment size 2048 ALSA pcm 'default' set buffer size 4096, period size 1364 bytes TiMidity starting in ALSA server mode Opening sequencer port: 128:0 $ aplaymidi -p 128:0 filename.mid Regards, TAMUKI Shoichi |