On Sunday 10 March 2002 09.12, Martijn Sipkema wrote: > > >I disagree. Just use POSIX realtime clocks on a good kernel. You > > > just happen to need a realtime kernel for MIDI. And then there > > > will still be jitter in a dense MIDI stream, since a message > > > takes about 1ms to transmit. > > > > whats a good kernel? do you mean with HZ=1000 ? > > A good kernel would be one with a clock resolution much smaller > than 1ms. But with HZ=1000 it would probably perform really good > already. 1ms jitter will probably not be noticable.
I'm not so sure... Changing the order of events to be set "at the same time" can make a big difference in my experience. (And this is with MIDI interfaces with *real* UARTs with 32 byte FIFOs and the like, not your average SB crap - so it's not an effect of a MIDI interface that cannot send bytes back-to-back.) > 10ms probably is. Very much so! //David .- M A I A -------------------------------------------------. | Multimedia Application Integration Architecture | | A Free/Open Source Plugin API for Professional Multimedia | `----------------------> http://www.linuxaudiodev.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter | `-------------------------------------> http://olofson.net -'
