[sdiy] Yet another Midi question

t at introspectiv.eclipse.co.uk t at introspectiv.eclipse.co.uk
Wed Feb 19 19:29:25 CET 2003


Tim,

The $FE active sensing message is a member of the set 
of system realtime messages, all of which occupy $F8 
to $FF, which includes Stop, Start, Clock, Active 
Sense etc. All of these have priority over other 
messages and can occur anywhere (including, say, 
between the status byte and data byte of some other 
MIDI message). The current running status is *not* 
affected by these special messages. You might want to 
have a special routine to deal with these messages 
should you wish to support them, but your normal 
running status handler code should ignore they ever 
happened. 

Basically I do a check as soon as a new status byte 
has been received, to see if it is equal or higher 
than F8. If result is true, it is not recorded in my 
currentStatusByte register, and the previous 'normal' 
status byte is still assumed. 

What's useful is that you know that all the messages 
you *don't* want to affect your running status stuff 
are grouped from 11111000 upwards. 

(Hope that made sense. I just re-read it and it sounds 
like waffle, but it's been a long day). 

Cheers

Trev

http://introspectiv.org/

Quoting Tim Ressel <madhun2001 at yahoo.com>:

> Hey all,
> 
> I've got a question on Midi running status. Do I
> clear
> the running status flag when I receive a $FE
> (active
> sensing)??
> 
> Thanks!
> 
> --Tim
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's
> Day
> http://shopping.yahoo.com
> 



More information about the Synth-diy mailing list