Re(2): MIDISend problem with packet length =1
Re(2): MIDISend problem with packet length =1
- Subject: Re(2): MIDISend problem with packet length =1
- From: Didier <email@hidden>
- Date: Sun, 11 Aug 2002 05:56:09 +0200
Hi ,
you wrote :
>
>
That should only work with SysEx or messages that are only one byte
>
long (that would be real time and tune request messages).
>
>
Remember that the rules for Core MIDI packets say that
>
>
1. With the exception of SysEx, packets must contain only complete
messages.
>
>
2. SysEx must be in separate packets.
>
>
3. No running status.
>
>
A driver which is living by the rules would be likely to ignore bad
>
packets. Remember that a good driver should be interpreting the data
>
stream so it can use running status where it's appropriate: Having
>
to deal with partial messages would make that more difficult to do.
>
For that matter Core MIDI has to merge data streams from multiple
>
clients. Dealing with partial messages would make that a lot harder,
>
too.
Thanks Herby,
I think you are right, the problem is I try to send a GM2 switch command
which is 8 characters long byte by byte.
I still don't understand why a driver ought to interpret my data (I can't
found any reference on this topic in the CoreAudio reference manual), but
I 'll try to adjust this.
Do you think the CoreAudion will be able to send raw MIDI data in the
future, without trying to understand them ?
Best regards
---------------------------------------------------------------------
Didier Guillion
email@hidden
-----------------------------------------------------------------------
Please, always repeat my message in your answer.
Ripitez s'il vous plait mon message dans votre riponse.
-----------------------------------------------------------------------
Don't miss our news on-lines Tutorials :
Ne manquez pas les nouveaux Didacticiels en ligne :
www.myriad-online.com/video
-----------------------------------------------------------------------
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.