Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile node for dynamic delay based on parameters, synchronizing processes with precise timing for enhanced workflow efficiency.
The DynamicDelayProcessor is a versatile node designed to introduce a dynamic delay in your workflow based on specific parameters. This node is particularly useful when you need to synchronize processes or introduce a controlled pause in your operations. By leveraging text-based input and calculating delay times dynamically, it ensures that your tasks are executed with precise timing. This can be especially beneficial in scenarios where timing is crucial, such as in multimedia processing or sequential task execution. The DynamicDelayProcessor enhances your workflow by providing a flexible and programmable delay mechanism, allowing for more complex and timed operations without manual intervention.
This parameter specifies the base delay time in seconds. It sets the initial delay duration before any additional calculations are applied. The value should be a positive number, and it serves as the foundation for the total delay time. For example, if you set delay_seconds
to 5, the node will introduce a base delay of 5 seconds.
This parameter allows you to input a string of text that will be used to calculate an additional delay based on the length of the text. If provided, the node will analyze the text and add extra delay time proportional to the number of words and the words_per_seconds
parameter. This is useful for creating delays that are dependent on the length of textual content.
This parameter defines the rate at which words are processed per second. It is used in conjunction with the delay_by_text
parameter to calculate the additional delay time. For instance, if words_per_seconds
is set to 2 and the delay_by_text
contains 10 words, an additional delay of 5 seconds will be added. This parameter must be a positive number.
This parameter determines the output behavior of the node. If set to "enable", the node will output a specific value (replace_value
) after the delay. If set to any other value, the node will output the original input. This allows for flexible control over the node's output based on the delay execution.
This parameter specifies the value to be output if replace_output
is set to "enable". It allows you to define a custom output value that will be returned after the delay. This can be useful for signaling the completion of the delay or for triggering subsequent actions in your workflow.
The output of the DynamicDelayProcessor is determined by the replace_output
parameter. If replace_output
is set to "enable", the node will output the replace_value
. Otherwise, it will output the original input. This flexible output mechanism allows you to control the flow of your workflow based on the delay execution.
delay_seconds
parameter to set a base delay time for simple delay requirements.delay_by_text
and words_per_seconds
to create dynamic delays based on the length of textual content, which can be useful for synchronizing with text processing tasks.replace_output
and replace_value
parameters to control the node's output and signal the completion of the delay to other parts of your workflow.delay_seconds
parameter must be a positive number.delay_seconds
value is set to a positive number.words_per_seconds
parameter must be a positive number.words_per_seconds
value is set to a positive number.delay_by_text
parameter must be a string.delay_by_text
value is a valid string.replace_output
parameter must be set to "enable" or another valid value.replace_output
value is set to "enable" or a valid alternative.replace_value
parameter must be provided if replace_output
is set to "enable".replace_value
is specified when replace_output
is set to "enable".© Copyright 2024 RunComfy. All Rights Reserved.