[sdiy] Yet another Midi question

Tim Ressel madhun2001 at yahoo.com
Wed Feb 19 20:11:08 CET 2003


Trevor,

Perhaps I have a wierd keyboard. I just modified my
ailing code to reset running status when an $FE comes
in and it fixed the thing! Now it works fine. Go
figure.

--Tim

--- t at introspectiv.eclipse.co.uk wrote:
> 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
> > 


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com



More information about the Synth-diy mailing list