On Tue, 7 Jul 2009, Zhang Weiwu wrote: > Forgot to mention, I uncommented the lines in /etc/timidity/timidity.cfg > that says should be uncommented for slow machine.
I haven't tried using it with a realtime keyboard interface in Linux, but I've been using it as a softsynth in Windows for general midi playback. I don't know about latency issues, but it plays back smoothly for me on my ancient box (circa 2001). I've been using the following timidity.cfg options: #extension opt -s 44100 #extension opt -f #extension opt -EFresamp=L #extension opt -EFreverb=4,21 #extension opt -EFns=0 #extension opt -m 3000 #extension opt -p 256 #extension opt -EFchorus=2 Cut the sample rate from 48000 to 44100 to save some CPU, use the fast decay rate (sounds better to me, will save CPU too), use Lagrange interpolation (way faster than default Gauss-like), use the 4th reverb mode with a global level of 21 (global is way faster than the default per-channel mode), disable noise shaping (I think it sounds better off, should save CPU too), set a 3 second downramp on pedal sustains to prevent "stuck" pedals, make sure polyphony is set to max to prevent prematurely discarded notes, and choose the pseudo-surround chorus mode (your preference may vary, I think it's probably slower than the default chorus mode too). Setting -EFreverb=0 and/or -EFchorus=0 to disable reverb or chorus will of course save CPU too. I don't know if it will help with latency or not, but it might be worth a try. -Eric ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Timidity-talk mailing list Timidity-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/timidity-talk