What is Real-Time?
Posted Dec 28, 2004 23:15 UTC (Tue) by
ccchips (subscriber, #3222)
In reply to:
What is Real-Time? by dlang
Parent article:
Where Is Real-Time Linux? (TechNewsWorld)
I have an example that's near to my heart, and about audio.
I use Csound in combination with FLTK to experiment with synthesis techniques. Sometimes I use it in console mode, without FLTK. The signals come from a MIDI keyboard.
It is very hard to get Linux to be ultra-responsive to my requests--that is, to give me instantaneous response from the keyboard---without getting "buffer underrun" errors from the software synthesizer. Ideally, I should be able to get the OS to appear *totally transparent* to my actions, instead of having to perform the music as if I were using an old pneumatic pipe organ....where there is a clearly perceptible delay between striking the keyboard and getting the sound from the pipes.
Now, as I understand it, a really fast CPU running MS-DOS should be able to provide the performance snappiness I need, or I should be able to get better response from Linux with the "low-latency patch."
I think the same sorts of issues come up with multi-track recording; in fact, I have noticed that csound, when used as a multi-track recorder from console mode, still gets both input and output buffer underruns. And again, the point here is that the kinds of audio applications I desire are by nature as close to *real-time* as you can get, because there are issues of multiple performers involved.
In short, I feel that audio and video production work really does test the *real-time* capabilities of an OS, and far more effectively than, say, recording a record to a .wav file and then playing it back after converting to MP3, etc.
(
Log in to post comments)