[sdiy] Tips for writing a MIDI parser wanted

Tom Wiltshire tom at electricdruid.net
Tue Mar 24 13:35:28 CET 2009


On 24 Mar 2009, at 11:47, Louis van Dompselaar wrote:

>> the thing that catches you out will be running status and those  
>> "system realtime
>> messages" (anythong 0xF0 to 0xFF).
>> The other odd one is the two types of note off ;-
>>
>> 0x80, 0x3C, 0x7F
>> 0x90, 0x3C, 0x00
>>
>> Both are valid note off's for the same note, *most* things seem to  
>> use note (0x90) with
>> zero velocity, but some still use note off (0x80) status bytes.
>
> And it's not always 0x7F note off velocity either.  Some keyboards  
> do actually
> send a real note-off velocity value.

Presumably it's impossible to use the "note on" code (0x90) with a  
release velocity other than zero for a note off?
So keyboards that send a release velocity must use the true note off  
message (0x80).

T.





More information about the Synth-diy mailing list