* Added a `SonarResizedNoiseAdv` node that allows more control (and is more useful for models like ACE-Steps where you might want to deal with absolute sizes). * Added a `SonarWaveletCFG` node which allows you use different CFG values for different frequencies. * Added a `SonarCustomNoiseParameters` node that lets you set some parameters as well as override seed/device/dtype. * Added `replace`, `replace_keepsign` and `replace_avoidsign` quantile norm modes. * `SonarBlendedNoise` now has a `custom_noise_mask` input. When connected, it will generate noise with that, put it on a 0-1 scale and use that to control the blend. * Added a `SonarAdvancedVoronoiNoise` node.
24 lines
560 B
Python
24 lines
560 B
Python
import sys
|
|
|
|
from . import py # noqa: F401
|
|
from .py import nodes, sonar
|
|
|
|
|
|
def blep_init():
|
|
bi = sys.modules.get("_blepping_integrations", {})
|
|
if "sonar" in bi:
|
|
return
|
|
bi["sonar"] = sys.modules[__name__]
|
|
sys.modules["_blepping_integrations"] = bi
|
|
|
|
|
|
sonar.add_samplers()
|
|
blep_init()
|
|
|
|
NODE_CLASS_MAPPINGS = nodes.NODE_CLASS_MAPPINGS
|
|
NODE_DISPLAY_NAME_MAPPINGS = nodes.NODE_DISPLAY_NAME_MAPPINGS
|
|
NODE_DISPLAY_NAME_MAPPINGS = getattr(nodes, "NODE_DISPLAY_NAME_MAPPINGS", {})
|
|
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|