switch (e1) {
case 0x00: // short event
smafMessage = new NopMessage(duration);
break;
case 0x01: // short event
smafMessage = new ResetOrigneMessage(duration);
break;
case 0x20: { // control event
int size = readOneToTwo(is);
byte[] data = new byte[size];
read(is, data);