SonarCustomNoiseAdv
SonarCustomNoise, but with a YAML escape hatch
- sonar_custom_noise_opt
- SONAR_CUSTOM_NOISE
SonarCustomNoiseAdv is SonarCustomNoise with one extra input: a multiline yaml_parameters string that lets you pass per-type options the normal widget surface doesn't expose. Same 38 noise types, same factor and rescale, same chaining via sonar_custom_noise_opt. If you never need to go past the standard widgets, use the plain version - this one exists for the people who've read the pack's docs and want the unexposed knobs.
When you'd use this over the basic node
The basic SonarCustomNoise gives you flavor and strength. The advanced version gives you the ability to tune how a specific noise type does its thing - think of it as passing keyword arguments to the generator that the node UI just never surfaces. The pack's own docs (docs/base_noise_types.md, docs/advanced_power_noise.md, docs/advanced_noise_nodes.md in the repo) document the type-specific parameters, and the YAML block is how you actually feed them in.
A practical example from the README's general philosophy: the Sonar samplers accept a sonar_params YAML block for things like momentum_mode (classic, new, denoised), momentum_start_step/momentum_end_step, and rand_init_noise_multiplier. The same mechanism powers this node's noise parameters. If a noise type you like has a documented parameter you can't find in the widgets, this is where it lives.
The honest warning
The tooltip says it plainly: there is generally little to no error checking when you specify parameters via YAML. A typo won't necessarily throw - it'll silently do nothing, or worse, produce noise that's subtly wrong, which is the most annoying kind of wrong. Save a workflow you trust before you experiment, and change one thing at a time.
Inputs and output
noise_type- same 38-flavor list,gaussiandefault.factor- scaling for this noise item. Negative works.rescale- when non-zero, this item and everything chained to it get factors scaled to sum to this value. 0 disables.yaml_parameters- the multiline YAML block. Type-specific parameters, plus the standard pack parameters. No error checking, see above.sonar_custom_noise_opt- optional, chain another noise item in.
Output is SONAR_CUSTOM_NOISE, which wires to a Sonar sampler's custom noise input, NoisyLatentLike, SamplerConfigOverride, or onward into other noise nodes like SonarCompositeNoise or SonarPowerFilterNoise.
Install
Same as the rest of the pack: ComfyUI Manager → search "ComfyUI-sonar" → Install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/blepping/ComfyUI-sonar
Restart ComfyUI after. No model downloads, no extra dependencies. Remember the README's standing warning: node inputs and defaults still shift between versions, so don't expect byte-identical reproductions across updates - pin your git revision if you're chasing a specific look.
One more thing worth knowing before you go spelunking in YAML: the pack generates noise on GPU or CPU somewhat inconsistently, and that means seeds can differ between GPU models. If you're about to spend an afternoon tuning YAML parameters, do it on the same machine, or pin override_device in SonarCustomNoiseParameters first - otherwise you'll be chasing parameters that quietly moved.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| factor | FLOAT | 1.000-10000–10000 | Scaling factor for the generated noise of this type. |
| rescale | FLOAT | 0.0000–10000 | When non-zero, this custom noise item and other custom noise items items connected to it will have their factor scaled to add up to the specified rescale value. When set to 0, rescaling is disabled. |
| noise_type | COMBO | gaussian | Sets the type of noise to generate. |
| sonar_custom_noise_optopt | SONAR_CUSTOM_NOISE,OCS_NOISE | Optional input for more custom noise items. The following input types are supported: SONAR_CUSTOM_NOISE, OCS_NOISE | |
| yaml_parametersopt | STRING | Allows specifying custom parameters via YAML. Note: When specifying paramaters this way, there is generally little to no error checking. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| SONAR_CUSTOM_NOISE | SONAR_CUSTOM_NOISE | A custom noise chain. |