Re: [linux-audio-dev] Basic MIDI question

From: Jacob <jacob01@email-addr-hidden>
Date: Tue Jul 25 2006 - 22:33:29 EEST

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-
>
>
Received on Wed Jul 26 04:15:04 2006

This archive was generated by hypermail 2.1.8 : Wed Jul 26 2006 - 04:15:04 EEST