--- title: Encode MIDI Message sidebar: label: Encode order: 2 --- import SchemaInfo from '../../../../../components/SchemaInfo.astro'; This processor will encode a MIDI message into an array of bytes. This processor will return an error if the message being processed is not a MIDI message. ### Example ```yaml - type: midi.message.encode ```