micromed_io.tcp.encode_note_packet#

micromed_io.tcp.encode_note_packet(sample: uint32, note: str) bytearray#

Encode a note packet with sample and text

Parameters:
samplenp.uint32

The sample when note occured

notestr

The text

Returns:
bytearray

The encoded packet