pub fn pack(
delta_time: u8,
event_type: SonicEventType,
channel: u8,
note: u8,
velocity: u8,
tensor_index: u16,
flags: u16,
) -> u64Expand description
Pack the fields into the mirrored u64 layout.
note doubles as the CC controller number; velocity doubles as the CC
value. tensor_index and flags are 16-bit graph/provenance hints (0 for a
pure MIDI bridge token).