Files
blepping-ComfyUI-sonar/__init__.py
T
elias-gaeros 52f929d54d SonarPowerNoise (#2)
* SonarPowerNoise: WIP

* don't allow highpass > lowpass

* fix filter unit gain

The filter was computed as an amplitude gain map. This change computes energy
gains instead. This makes easier to ensure unit-gain and makes the alpha values
more in line with literature where the power spectrum is obeying the power law.
new alpha = old alpha / 2

Also fixes the gain of common_mode.

* allow stretch < 1.0, paramter range fixes

* rename lowpass/highpass to min_freq/max_freq

* remove torch.no_grad wrappers

* add previews

* static seed for previews

* README: SonarPowerNoise documentation
2024-03-14 16:04:35 -06:00

19 lines
638 B
Python

from .py import nodes, powernoise, sonar
sonar.add_samplers()
NODE_CLASS_MAPPINGS = {
"SamplerSonarEuler": nodes.SamplerNodeSonarEuler,
"SamplerSonarEulerA": nodes.SamplerNodeSonarEulerAncestral,
"SamplerSonarDPMPPSDE": nodes.SamplerNodeSonarDPMPPSDE,
"SamplerConfigOverride": nodes.SamplerNodeConfigOverride,
"NoisyLatentLike": nodes.NoisyLatentLikeNode,
"SonarCustomNoise": nodes.SonarCustomNoiseNode,
"SonarPowerNoise": powernoise.SonarPowerNoiseNode,
"SonarGuidanceConfig": nodes.GuidanceConfigNode,
}
NODE_DISPLAY_NAME_MAPPINGS = {}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]