Here is some code i gathered or wrote (i apologize if these are well known, im new to coding in general)
-
Hold color as long as value is met
(can be used to make an adjustable audioflicker)
AlphaL<Red,IsGreaterThan<SwingSpeed<250>,Int<22000>>> -
Scale a color around a value
AlphaL<Red,Scale<SwingSpeed<250>,Int<0>,Int<32768>>> -
Mix colors scaled on a value
Mix<Scale<NoisySoundLevel,Int<0>,Int<32768>>,Red,Green> -
Mix between colors scaled on value, adjustable hold time and fade
Mix<HoldPeakF<SwingSpeed<250>,Int<500>,Int<10000>>,Red,Green> -
Switch between colors only when value is met
ColorSelect<IncrementModuloF<ThresholdPulseF<SwingSpeed<250>, Int<22000>>,Int<2>>,TrInstant,Red,Green> -
AudioPulse, adjust int values to filter lower or higher frequencies
(unlike audioflicker it fades between colors instead of flickering and is way more responsive)
Mix<Scale<NoisySoundLevel,Int<0>,Int<32768>>,Red,Green> -
Concat nesting (allows using one bump for multiple effects)
TransitionEffectL<TrConcat<TrInstant,AlphaL<Layers<Red,TransitionEffectL<TrConcat<TrInstant,Green,TrFade<100>>,EFFECT_CLASH>>,Bump<Int<16384>>>,TrFade<300>>,EFFECT_CLASH> -
Tweaked fett263’s clash and lockup bump to better scale to blade angle (when blade is max 65 degrees up or down, bump is at base, when blade is horizontal bump is at tip)
Bump<Scale<BladeAngle<4554,28214>,Scale<BladeAngle<0,16000>,Int<10000>,Int<75000>>,Int<10000>>,Int<1000>>