back to list

Re: Byte order

🔗Robert Walker <robertwalker@ntlworld.com>

7/21/2001 3:04:55 AM

Hi John and Jeff,

Just to mention an idea that might be relevant when sending
data as a stream of (n)rpn fine / coarse data change messages.

One could use the variable length idea to send data of any length,
as in the time format.

I.e. set highest order bit of coarse controller to 0 to send a
single 15 bit coarse / fine controller pair (or just use the
coarse controller and send it as 7 bit)

Then set to 1 for each element of a longer string, using
0 to signal the end.

What is this about atomicising nrpns Jeff? How does it work?

The variable length idea of course won't work if the
order of the messages can be changed.

I know that sometimes the order of messages in a midi file
can be shuffled in transmission as Quicktime did that for
the order of a sequence of note ons and note offs specified
as simultaneous in one of my midi files. The file had
a note that was switched on and then immediately switched
off in the same time moment, so it was a situation one
wouldn't ordinarily encounter, and I was grateful for
Quicktime for highlighting the bug that lead to my program
doing that.

Robert