Nodes/ComfyUI-sonar/SonarRippleFilteredNoise
ComfyUI Node

SonarRippleFilteredNoise

Custom noise filter that allows applying scaling based on a wave (sin or cos).

By blepping·Created 3 years ago·Updated 4 days ago· 49
SonarRippleFilteredNoise
  • custom_noise
  • sonar_custom_noise_opt
  • SONAR_CUSTOM_NOISE
factor1.000
rescale0.000
modecos
dim-1
flattenfalse
offset0.000
roll0.000
amplitude_high0.250
amplitude_low0.150
period3.000
normalize_noisefalse
normalizedefault
Categoryadvanced/noise

Inputs (14)

NameTypeDefaultDescription
factorFLOAT1.000-10000–10000Scaling factor for the generated noise of this type.
rescaleFLOAT0.0000–10000When 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.
custom_noiseSONAR_CUSTOM_NOISE,OCS_NOISEAllows connecting a custom noise chain. The following input types are supported: SONAR_CUSTOM_NOISE, OCS_NOISE
modeCOMBOcosFunction to use for rippling. The copysign variations are not recommended, they will force the noise to the sign of the wave (whether it's above or below the midline) which has an extremely strong effect. If you want to try it, use something like a 1:16 ratio or higher with normal noise.
dimINT-1-100–100Dimension to use for the ripple effect. Negative dimensions count from the end where -1 is the last dimension.
flattenBOOLEANfalseWhen enabled, the noise will be flattened starting from (and including) the specified dimension.
offsetFLOAT0.000-10000–10000Simple addition to the base value used for the wave.
rollFLOAT0.000-10000–10000Rolls the wave by this many elements each time the noise generator is called. Negative values roll backward.
amplitude_highFLOAT0.250-10000–10000Scale for noise at the highest point of the wave. This adds to the base value (respecting sign). For example, if set to 0.25 you will get noise * 1.25 at that point. It's also possible to use negative values, -0.25 will result in noise * -1.25.
amplitude_lowFLOAT0.150-10000–10000Scale for noise at the lowest point of the wave. This subtracts from the base value (respecting sign). For example, if set to 0.25 you will get noise * 0.75 at that point. It's also possible to use negative values, -0.25 will result in noise * -0.75.
periodFLOAT3.000-10000–10000Number of oscillations along the specified dimension.
normalize_noiseBOOLEANfalseControls whether the noise source is normalized before wavelet filtering occurs.
normalizeCOMBOdefaultControls whether the generated noise is normalized to 1.0 strength.
sonar_custom_noise_optoptSONAR_CUSTOM_NOISE,OCS_NOISEOptional input for more custom noise items. The following input types are supported: SONAR_CUSTOM_NOISE, OCS_NOISE

Outputs (1)

NameTypeDescription
SONAR_CUSTOM_NOISESONAR_CUSTOM_NOISEA custom noise chain.