Redesign the rawmidi midi read with timestamping API