Rebuilding ShaperFX in Scriptnode
-
Anyone have any starting points for this? I see the SNEX_Shaper but not sure how to integrate it.
-
SNEX_Shaper or just SNEX node can work, @dustbro already has a quick walkthrough on the latter:
https://forum.hise.audio/topic/5660/linking-parameters-to-snex/16?_=1656108309490
The actual DSP would come from HISE/hi_modules/effects/fx/ShapeFX.cpp, or you can mess with it and make your own :)
-
@iamlamprey Wicked! That's awesome. Thank you.
-
The below WaveShaper Equation is the exact clone of the Hise Saturator & ShaperFX Saturation (except the AutoGain) section. You can use this with SNEX node.
The class location is here: JUCE Modules > hi_core > hi_core > UtilityClasses > Saturator
input = ((1.0 + ((2.0 * amount) / (1.0f - amount))) * input) /(1.0 + ((2.0 * amount) / (1.0f - amount)) * Math.abs(input));