Hi Chris,

I also agree that option 4 is best. Not just for purely visual
reasons, though: it is also that scripts using the sigrok-cli
output can make sense of the data. If "regular" MIDI packets
are interrupted also in the textual output, such scripts would
need to re-assemble the textual MIDI packet output to evaluate
them.
When using a different annotation class for the interrupting
packets, textual processing of the data suddenly becomes a
lot easier.

Regards,
  -Soeren

On 2016-09-06 05:46, Karl Palsson wrote:
> Chris Dreher <[email protected]> wrote:
>> I am looking for some advice on the best option to display
>> overlapping packet decodes. See attached mock-up images.
>> 
>> In MIDI, System Realtime packets are allowed to briefly
>> interrupt the byte stream of other packets. When the System
>> Realtime packet is done, the previously interrupted packet
>> continues. Because of this there are several options for
>> displaying packets.
>> 
>> Here are some of the options (see attached mock-up images):
>> Option 1: let the packets overlaps in the GUI. It's messy
>> looking. Option 2: give the System Realtime packets a different
>> color. Better but messy. Option 3: show the incomplete parts of
>> a packet with a '...' and don't decode it until the end. Option
>> 4: put the System Realtime packets on a different line.
>> 
>> Currently, I lean towards Option 4. I know how to code the
>> above options. Are there other options?
> 
> Option 4 looks the best to me as well.
> 
> Cheers,
> Karl P
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> sigrok-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sigrok-devel

------------------------------------------------------------------------------
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to