ComfyUI Node
SonarResizedNoise
Custom noise type that allows resizing another noise item.
SonarResizedNoise
- custom_noise
- SONAR_CUSTOM_NOISE
◄factor1.000►
◄width1152►
◄height1152►
◄downscale_strategycrop►
◄initial_referenceprefer_crop►
◄crop_modecenter►
◄crop_offset_horizontal0►
◄crop_offset_vertical0►
◄upscale_modenearest-exact►
◄downscale_modenearest-exact►
◄normalizedefault►
Categoryadvanced/noise
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| factor | FLOAT | 1.000-10000–10000 | Scaling factor for the generated noise of this type. |
| width | INT | 115216–1073741824 | Note: This should almost always be set to a higher value than the image you're actually sampling. |
| height | INT | 115216–1073741824 | Note: This should almost always be set to a higher value than the image you're actually sampling. |
| downscale_strategy | COMBO | crop | Scaling noise is something you'd pretty much only use to create weird effects. For normal workflows, leave this on crop. |
| initial_reference | COMBO | prefer_crop | The initial latent the noise sampler uses as a reference may not match the requested width/height. This setting controls whether to crop or scale. Note: Cropping can only occur when the initial reference is larger than width/height in both dimensions which is unlikely (and not recommended). |
| crop_mode | COMBO | center | Note: Crops will have a bias toward the lower number when the size isn't divisible by two. For example, a center crop of size 3 from (0, 1, 2, 3, 4, 5) will result in (1, 2, 3). |
| crop_offset_horizontal | INT | 0-8000–8000 | This offsets the cropped view by the specified size. Positive values will move it toward the right, negative values will move it toward the left. The offsets will be adjusted to to fit in the available space. For example, if you have crop_mode set to top_right then setting a positive offset isn't going to do anything: it's already as far right as it can go. |
| crop_offset_vertical | INT | 0-8000–8000 | This offsets the cropped view by the specified size. Positive values will move it toward the bottom, negative values will move it toward the top. The offsets will be adjusted to to fit in the available space. For example, if you have crop_mode set to bottom_right then setting a positive offset isn't going to do anything: it's already as far down as it can go. |
| upscale_mode | COMBO | nearest-exact | Allows setting the scaling mode when width/height is smaller than the requested size. |
| downscale_mode | COMBO | nearest-exact | Allows setting the scaling mode when width/height is larger than the requested size and downscale_strategy is set to 'scale'. |
| normalize | COMBO | default | Controls whether the generated noise is normalized to 1.0 strength. |
| custom_noise | SONAR_CUSTOM_NOISE,OCS_NOISE | Allows connecting a custom noise chain. The following input types are supported: SONAR_CUSTOM_NOISE, OCS_NOISE |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| SONAR_CUSTOM_NOISE | SONAR_CUSTOM_NOISE | A custom noise chain. |