Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-MAINodes > H3 True Clock (density-corrected RoPE t-grid) [experimental]

ComfyUI Node: H3 True Clock (density-corrected RoPE t-grid) [experimental]

Class Name

H3TrueClock

Category
sampling/custom_sampling/samplers
Author
matlowai (Account age: 1004days)
Extension
ComfyUI-MAINodes
Latest Updated
2026-08-26
Github Stars
0.11K

How to Install ComfyUI-MAINodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-MAINodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-MAINodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

H3 True Clock (density-corrected RoPE t-grid) [experimental] Description

Sophisticated node for managing and correcting timing grid alignment in AI models, focusing on RoPE t-grid for accurate temporal perception.

H3 True Clock (density-corrected RoPE t-grid) [experimental]:

H3TrueClock is a sophisticated node designed to manage and correct the timing grid used in AI models, specifically focusing on the RoPE (Rotary Position Embedding) t-grid. This node ensures that the model's perception of time aligns with the actual world duration of the clip being processed, rather than a dilated version. By doing so, it addresses issues such as seam flash and jitter, which can occur when the timing grid is not accurately aligned with the real-world timing. The node achieves this by providing a density-corrected t-grid that maintains a monotone, strictly increasing sequence, ensuring that no frame regresses in time. This correction is crucial for maintaining the integrity of the model's temporal understanding, especially in applications involving video or audio processing where precise timing is essential.

H3 True Clock (density-corrected RoPE t-grid) [experimental] Input Parameters:

holds

The holds parameter is a list that defines the duration each token should occupy in the timing grid. It directly influences how the model perceives the passage of time for each segment of the input. The values in this list should sum up to the total duration of the clip in RoPE units, ensuring that the clip's world duration is accurately represented. There are no explicit minimum or maximum values for each entry, but collectively they must align with the clip's total duration.

world_len

The world_len parameter specifies the total length of the clip in terms of world time. This value is crucial as it sets the reference for the entire timing grid, ensuring that the sum of the holds parameter aligns with this world length. It ensures that the model's timing grid reflects the true duration of the clip, preventing any temporal distortion.

H3 True Clock (density-corrected RoPE t-grid) [experimental] Output Parameters:

corrected_t_grid

The corrected_t_grid is the primary output of the H3TrueClock node. It represents the adjusted timing grid that the model will use to process the input data. This grid is density-corrected to ensure that the model's perception of time matches the actual world duration of the clip. It is a strictly increasing sequence, ensuring that each frame progresses forward in time without any regression, thus maintaining the temporal integrity of the model's output.

H3 True Clock (density-corrected RoPE t-grid) [experimental] Usage Tips:

  • Ensure that the holds parameter accurately reflects the desired duration for each segment of your input to maintain the correct world duration.
  • Use the world_len parameter to set the total duration of your clip, ensuring that the timing grid aligns with the real-world timing.
  • Regularly test the output corrected_t_grid to verify that it maintains a strictly increasing sequence, which is crucial for preventing temporal artifacts in your model's output.

H3 True Clock (density-corrected RoPE t-grid) [experimental] Common Errors and Solutions:

"Sum of holds does not match world_len"

  • Explanation: This error occurs when the total duration specified by the holds parameter does not align with the world_len parameter.
  • Solution: Adjust the values in the holds list to ensure that their sum matches the world_len value, reflecting the true duration of the clip.

"Non-monotone t-grid detected"

  • Explanation: This error indicates that the generated timing grid is not strictly increasing, which can lead to temporal artifacts.
  • Solution: Review the holds parameter to ensure that each segment progresses forward in time, and adjust as necessary to maintain a monotone sequence.

H3 True Clock (density-corrected RoPE t-grid) [experimental] Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-MAINodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

H3 True Clock (density-corrected RoPE t-grid) [experimental]