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:
Linking parameters to SNEX
Finally had a second to make a quick video. I apologize for the poor quality and zero planning... but you get the idea
Forum (forum.hise.audio)
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));