[linux-audio-dev] Basic MIDI question

Jacob jacob01 at gmx.net
Tue Jul 25 19:33:29 UTC 2006


On Tue, Jul 25, 2006 at 12:38:50PM -0400, Dave Robillard wrote:
> On Tue, 2006-07-25 at 11:03 +0200, Clemens Ladisch wrote:
> > Lee Revell wrote:
> > The running status and the zero note-on velocity (see Nicolas' mail) are
> > the only special cases your parser has to look out for.
> 
> What about the 1-byte "realtime" events?

IIRC, real-time events (1 byte, status byte 0xf8 - 0xff) may happen at
_any time_ (even between 2 data bytes) without affecting the current message. 
That includes that it must not be remembered as last status byte
(real-time messages don't have data bytes).

Another issue are system common messages (0xf0 - 0xf7). These status
codes must not be stored as running status either, so there must be a
status byte after each system common message. But this is not an issue
here I think, I just added it for completeness.

Jacob

> 
> (un-normalized MIDI reeally sucks...)
> 
> -DR-
> 
> 



More information about the Linux-audio-dev mailing list