ComfyUI Node
SonarResizedNoiseAdv
Custom noise type that allows resizing another noise item. Advanced version of the SonarResizedNoise node.
SonarResizedNoiseAdv
- custom_noise
- SONAR_CUSTOM_NOISE
◄factor1.000►
◄width32.000►
◄height32.000►
◄spatial_moderelative►
◄spatial_compression8►
◄downscale_strategycrop►
◄initial_referenceprefer_crop►
◄crop_modecenter►
◄crop_offset_horizontal0►
◄crop_offset_vertical0►
◄upscale_modenearest-exact►
◄downscale_modenearest-exact►
◄normalizedefault►
Categoryadvanced/noise
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| factor | FLOAT | 1.000-10000–10000 | Scaling factor for the generated noise of this type. |
| width | FLOAT | 32.0000–10000 | Note: In absolute mode, this should almost always be set to a higher value than the image you're actually sampling. |
| height | FLOAT | 32.0000–10000 | Note: In absolute mode, this should almost always be set to a higher value than the image you're actually sampling. |
| spatial_mode | COMBO | relative | In relative mode, the sizes control padding. In percentage mode, the values will be interpreted as percentages of the origal size where 1.0 would be 100%, 0.5 would be 50% and so on. In absolute mode, this controls the absolute size. |
| spatial_compression | INT | 81–10000 | Most image models use 8x spatial compression. When spatial mode is absolute, the sizes will be multiplied by this value. It is ignored in percentage mode. |
| 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-10000–10000 | 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-10000–10000 | 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. |