[LAD] Realtime MIDI programming?

Albert Graef Dr.Graef at t-online.de
Sat Oct 3 19:40:09 UTC 2009

Harry Van Haaren wrote:
> And I'd advise you to start with "normal" scheduling (I've never coded
> an RT app, but MIDI apps works
> 100% realtime for me without any upgrading of priority).

That may work if you have enough spare cpu power, but otherwise you may
get a lot of jitter which really hurts with fast pieces (lots of MIDI
messages at a fast tempo).

It's really not that hard to get realtime scheduling priorities on
recent Linux systems. I wouldn't want to run any computer music
application without that. But maybe RtMidi already does that behind the


Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de
WWW:    http://www.musikinformatik.uni-mainz.de/ag

More information about the Linux-audio-dev mailing list