ComfyUI Node
MD: Noise Decay Scheduler (Advanced)
Advanced noise decay scheduler with visualization.
MD: Noise Decay Scheduler (Advanced)
- scheduler
- plot_image
◄algorithm_typepolynomial►
◄decay_exponent2.0►
◄start_value1.00►
◄end_value0.00►
◄invert_curvefalse►
◄preview_steps20►
◄use_cachingtrue►
◄enable_temporal_smoothingfalse►
◄smoothing_window3►
◄custom_piecewise_points1.0,0.5,0.0►
◄fourier_frequency1.0►
◄debug_mode0 - Silent►
◄enable_profilingfalse►
CategoryMD_Nodes/Schedulers
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| algorithm_type | COMBO | polynomial | DECAY ALGORITHM • Purpose: Defines the mathematical function shaping the curve. • Options: Polynomial (Linear/Quad), Sigmoidal (S-Curve), Gaussian (Bell). • Trade-offs: Non-standard shapes (Fourier) may yield unpredictable injection results. ⭐ Recommended: 'polynomial' for standard diffusion ease-in. |
| decay_exponent | FLOAT | 2.00.1–10 | DECAY EXPONENT (STEEPNESS) • Purpose: Controls the rate/curvature of the decay drop-off. • Options: 1.0 = Linear, 2.0 = Standard Quadratic. • Trade-offs: Extreme values (>5.0) cause massive steps at the very beginning. ⭐ Recommended: 2.0 for standard ease-in. |
| start_value | FLOAT | 1.00-2–2 | START VALUE • Purpose: The Y-value magnitude at the very first step (t=0). • Range: Typically 0.0 to 1.0. ⭐ Recommended: 1.0 for standard decay, 0.0 for attack envelopes. |
| end_value | FLOAT | 0.00-2–2 | END VALUE • Purpose: The Y-value magnitude at the final step (t=max). • Range: Typically 0.0 to 1.0. ⭐ Recommended: 0.0 for standard decay. |
| invert_curve | BOOLEAN | false | INVERT CURVE • Purpose: Flips the curve vertically (Calculates 1 - y). • Effect: Quickly turns a decay schedule into an attack schedule. ⭐ Recommended: False unless intentionally building inverse logic. |
| preview_steps | INT | 202–1000 | PREVIEW STEPS • Purpose: Resolution fidelity of the generated plot image. • Range: 2 to 1000 samples. • Trade-offs: Higher values yield smoother curves but slightly slower node execution. ⭐ Recommended: 20-50 is sufficient for visualization. |
| use_caching | BOOLEAN | true | USE CACHING • Purpose: Stores results in memory to avoid recalculating identical curves. • Trade-offs: Uses trace memory, but massively speeds up queue runs. ⭐ Recommended: True. |
| enable_temporal_smoothing | BOOLEAN | false | ENABLE SMOOTHING • Purpose: Applies a moving average filter to the final curve. • Effect: Softens sharp transitions, highly useful in 'piecewise' mode. ⭐ Recommended: False for pure mathematical curves. |
| smoothing_windowopt | INT | 32–20 | SMOOTHING WINDOW • Purpose: The rolling kernel size of the moving average filter. • Requirement: Active only if 'enable_temporal_smoothing' is True. ⭐ Recommended: 3-5 to retain general shape while blurring spikes. |
| custom_piecewise_pointsopt | STRING | 1.0,0.5,0.0 | PIECEWISE POINTS • Purpose: Manual control anchors for the curve. • Requirement: Active only if Algorithm = 'piecewise'. • Format: Comma-separated floats (e.g., '1.0, 0.8, 0.2, 0.0'). |
| fourier_frequencyopt | FLOAT | 1.00.1–10 | FOURIER FREQUENCY • Purpose: Number of oscillating cycles for the algorithm. • Requirement: Active only if Algorithm = 'fourier'. ⭐ Recommended: 1.0 creates a single bell-like cosine wave. |
| debug_modeopt | COMBO | 0 - Silent | LOGGING VERBOSITY • Purpose: Controls console output and structural profiling. • Options: 0 (Production), 1 (Analytics Report), 2 (Full trace). ⭐ Recommended: 0 - Silent. |
| enable_profilingopt | BOOLEAN | false | ENABLE PROFILING • Purpose: Measure generation time for performance tuning. • Note: Automatically enabled if debug_mode >= 1. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| scheduler | SCHEDULER | — |
| plot_image | IMAGE | — |