[sdiy] Midi problems

Paul Maddox Paul.Maddox at Wavesynth.com
Thu Apr 4 22:40:42 CEST 2002


Andre,

>Some bytes with the MSB set don't count for running status.

sorry, yes I did forget to mention that..

>Yes, and not only clock !
>Status bytes F8h - FFh (as you said clock, but also tick, start,
>continue, stop, sense and reset) are called real time messages.

if Im not useing them I have a function ;-

{
unsigned char midi_raw_data_byte = getc (midi_buffer);
if (midi_raw_data_byte  < 0xF8)
    {

    /* running status/channel checks here */

    midi_buffer[buffer_pointer] = midi_raw_data_byte;
    buffer_pointer++;
    }
}

so much the same as yours, except I buffer the midid data I want.
and midi clock never makes it into this buffer, its just falls out the
buffer into a black hole (best place for it!)


Paul





More information about the Synth-diy mailing list