Visit ComfyUI Online for ready-to-use ComfyUI environment
Processes MIDI messages, extracts attributes, enables real-time response to MIDI input for dynamic experiences in music and interactive projects.
The MIDI Message node processes MIDI messages received from an external MIDI controller or device. It accepts MIDI messages as input and returns various attributes of the MIDI message, including whether the message is valid, the MIDI channel, control number, note number, value, and normalized value. This node is useful for integrating MIDI control into creative projects, allowing you to respond to MIDI input in real-time. By leveraging this node, you can create dynamic and interactive experiences that react to MIDI events, making it an essential tool for music production, live performances, and interactive installations.
This parameter accepts a MIDI message as input. It is optional and can be set to None
by default. The MIDI message contains the data that will be processed by the node to extract various attributes. If no MIDI message is provided, the node will not perform any processing.
This output returns the original MIDI message that was processed. It allows you to pass the MIDI message to other nodes for further processing or analysis.
This output indicates whether the MIDI message is valid. It returns True
if the message is valid and False
otherwise. This can be useful for error checking and ensuring that only valid MIDI messages are processed.
This output returns the MIDI channel number from the MIDI message. MIDI channels range from 0 to 15, and this value helps identify which channel the message was sent on.
This output returns the control number from the MIDI message. Control numbers are used in MIDI Control Change messages to specify which control is being adjusted, such as a knob or slider on a MIDI controller.
This output returns the note number from the MIDI message. Note numbers range from 0 to 127 and correspond to specific musical notes. This is particularly useful for processing Note On and Note Off messages.
This output returns the value associated with the MIDI message. For Note On messages, this is the velocity of the note. For Control Change messages, this is the value of the control. The value is normalized to a range of 0 to 1.
This output returns the normalized value of the MIDI message. It provides a value between 0 and 1, which can be useful for scaling and mapping MIDI values to other parameters in your project.
None
.Β© Copyright 2024 RunComfy. All Rights Reserved.