Visit ComfyUI Online for ready-to-use ComfyUI environment
Advanced MIDI message filtering based on criteria like mode, channel, control, note, value, and normalization for selective processing.
The MIDI Filter node provides advanced filtering capabilities for MIDI messages based on various criteria, including MIDI mode (such as note on or note off), MIDI channel, control number, note number, value, and normalized value. It allows you to filter out unwanted MIDI events and selectively process only the desired ones. This node offers flexibility in MIDI data processing, enabling precise control over which MIDI messages are passed through for further processing. By using this node, you can streamline your MIDI data handling, ensuring that only relevant messages are considered, which is particularly useful in complex MIDI setups or creative projects where specific MIDI events trigger different actions.
This parameter accepts a MIDI message (JMIDIMSG
). It is optional and defaults to None
. This input allows the node to process incoming MIDI messages and apply the specified filters to them.
This parameter specifies the MIDI mode filter, such as NOTE_ON
or NOTE_OFF
. It is optional and defaults to IGNORE
. This setting determines whether the node should filter messages based on their type, allowing you to focus on specific MIDI events.
This parameter is a string that specifies the MIDI channel to filter. It is optional and defaults to an empty string. By setting this parameter, you can filter messages based on the MIDI channel, ensuring that only messages from the specified channel are processed.
This parameter is a string that specifies the control number to filter. It is optional and defaults to an empty string. This setting allows you to filter messages based on their control number, which is useful for handling specific control change messages.
This parameter is a string that specifies the note number to filter. It is optional and defaults to an empty string. By setting this parameter, you can filter messages based on the note number, which is particularly useful for note-specific processing.
This parameter is a string that specifies the value to filter. It is optional and defaults to an empty string. This setting allows you to filter messages based on their value, enabling precise control over which messages are processed.
This parameter is a string that specifies the normalized value to filter. It is optional and defaults to an empty string. By setting this parameter, you can filter messages based on their normalized value, which is useful for handling messages with specific value ranges.
This output parameter returns the filtered MIDI message (JMIDIMSG
). It represents the MIDI message that has passed through the specified filters and is ready for further processing.
This output parameter returns a boolean value (BOOLEAN
). It indicates whether the MIDI message has passed the filters (True
) or not (False
). This output is useful for triggering subsequent actions based on the filtered MIDI messages.
CHANNEL
parameter to isolate messages from a specific MIDI channel, which is useful in multi-channel MIDI setups.ON
parameter to NOTE_ON
or NOTE_OFF
to filter messages based on note events, allowing you to handle note-specific actions.CONTROL
parameter to filter control change messages, which is helpful for processing specific MIDI controller inputs.CHANNEL
, NOTE
, VALUE
) to create complex filtering criteria that match your specific needs.© Copyright 2024 RunComfy. All Rights Reserved.