haas is glitchy
-
I found the haas fx node in script fx, and it widens a mono signal very nicely. However, when turning the knob, it pops.
Any way to smooth it out?
Video here -
@pcs800 it's more of a feature of the haas node rather than a bug. It boils down to some fundamental DSP processing techniques around how often a node is "updated", also known as processing chunks. You'll find the same is often true with many of the delay nodes in Scriptnode.
The documentation on the containers (like
container.fixX_block
andcontainer.frameX_block
) are a good place to start in order to understand this: https://docs.hise.dev/scriptnode/list/container/fix8_block.htmlAfter studying these you may also try the control.smoothed_parameter which allows you to interpolate between parameter points (i.e. smooth the rate of change between parameter points).
-
@HISEnberg Yes I've tried the smoothed_parameter, but it still pops. The smoothed_parameter_unscaled works better, but doesn't allow the haas position knob to move left beyond top center
-
- Put both the smoothed_parameter and the haas node into a fix_block8. The modulation update rate is using the lowest common denominator of all buffer sizes so if they are not in the same container, you get the blocky sound.
- The
_unscaled
variant directly forwards the incoming parameter value, so if you change your root parameter's minimum value to -1, you'll get the desired behaviour.
HiseSnippet 1606.3oc2X0raabCDlqroSrRRaSQZSuTf8PKfSQfgjrcrK5AK+ahQirE7p3jbxfdWJKBuK4hc4Za0hdu254bquF8T5iPeD5ifeCZGRtq0tRJJxJtIs0AHPb3Ljy27GmYaFIbowwhHjU4VcCoHqaic5xkc1nCgwQ6rIx5ivMHwRZjsgz5cCIwwTOjk0TOVQvZ1oQ5+tX00I9DtKsGID5.Ayk9TV.S1iZy5eOy2eahGsEKHG2KVeGWAeCguHAzmovUPgD2SHGS2knXqDF8DRbGj02fWj39nE8pPoKsvxKczBKtb0EWt1xKsxJqPnUWv8HOuusJckkqgrlYKOlTD4HIRZLbnqK755zQbF2bAGvhYG4SUKphbfa1PFsQGluWyLiSLBYga1yTMkwTcObClG6R58LYehdC6dRj2nYUZTpT0qfJYkSkl1nR2E63FwBk81QoO2BuCG7fsIfuIupX3EY863MD.Cb47AjSnaGAKtTf4dTkJOzF9uG7csS3tRlfaK36Jjz83y8fx+X4YK+Sks6eq1sG5dpqIR36SiF51pvgnQI3b7jfinQOz9T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IfnaO4cdPg6a17V3mSNkpGUW2evmoW2VDEX+XJ7Hqp87piXX8+XbGVObrGVeOWInBshH73PQLsZgp7z.VKAmFWfZeRTanRTqXIbYBu3QaHUfKkoXavTjiuaVOiXs7DaR3ENLXcgSpgp20rk+4plZbNT.4d6E6BFFRegtMS7ioOm4I6TMuf8HWKO4mPh7.enag4hlpXK3SOdsfWbDwb7OjIVl4Cv2x35YNyOfiBWXNuYyzQGlZ9rsfJL9PZrVG+TbZonLpEyCaH3hrQM5402mByIc7wzhuFLL.slTRfViujx8puO0mRhyka9U0Ms.paKbxrEW8O8zP8WeA1nt1phG1+28SXL0+q+DFie1GTO7e2dw6ig5x0r0tR6OL9x2Ge4i2G2Q.wMRbX5ztpj9apo.3lq6kdVbC0Z6pnS6usx.3IiCccKdTCHXsIUvElTAWbREboIUvGMoBt7jJ3JucAUunm14udxdTilao6J0xJaJNHMA82Gl6BzB
-
@pcs800 You can right-click any parameter in Scriptnode and change it's settings including the min-max values. There's also a bunch of control-nodes (checkout the control.minmax node) which allows you to map parameters that have different values.