According to the informal standard, an ETCO
frame is:
How can someone figure out how many events there are? Would a program need to use the size field of the frame header?
If all events are five bytes in length, what's the purpose of the $FF
event, whose purpose is "one more byte of event follows"?
(size of frame) minus (header size), divided by 5
would give you the most probable count of both, but in reality more events and fewer timestamps might occur.$0D
for unwanted noise) the bytes $FF$FF$05$06$0D
might occur, indicating that two more bytes=events are following (i.e. outro ends, verse starts, unwanted noise - all at the same timestamp, whose 4 bytes then follow).