#ifdef CONFIG_PRESETS
Preset presets[] = {
{ "Ulfberhtsaber;common", "Ulfberhtsaber/tracks/ClashOfTheCrystals.wav",
/* copyright Fett263 CustomBlade (Primary Blade) OS6 Style
https://fett263.com/fett263-proffieOS6-style-library.html#CustomBlade
OS6.7 v4.020
Single Style
Color Blend (Erratic)
Default: ElectroStaff
1: Shock Baton
Base Color: Rgb<0,0,255> (0)
--Effects Included--
Preon Effect: Faulty Ignition (PreOn Color)
Ignition Effect: Lightning Strike
Retraction Effect: Glitch Off
Lockup Effect: Responsive Lockup, Begin Effect: Localized Flash, End Effect: Power Burst
LightningBlock Effect: Force Lightning
Drag Effect: Intensity Sparking Drag
Melt Effect: Intensity Melt
Stab Effect: AudioFlicker Stab
Blast Effect: Responsive Blast Fade (Large)
Clash Effect: Responsive Clash
Swing Effect: Lightning Swing
*/
StylePtr<Layers<Mix<Scale<SlowNoise<Int<1000>>,Int<0>,Int<17764>>,StaticFire<Strobe<RgbArg<BASE_COLOR_ARG,Rgb<199,0,0>>,Strobe<Rgb<100,100,150>,RandomPerLEDFlicker<RgbArg<BASE_COLOR_ARG,Rgb<199,0,0>>,Black>,50,1>,100,1>,Mix<Int<6425>,Black,RgbArg<BASE_COLOR_ARG,Rgb<199,0,0>>>,0,5,2,1000,5>,BrownNoiseFlicker<BrownNoiseFlicker<RgbArg<BASE_COLOR_ARG,Rgb<10,0,153>>,Black,300>,Stripes<3000,-4000,Rgb<50,50,75>,Rgb<100,100,150>,Rgb<10,10,15>,Rgb<150,150,225>>,200>>,AlphaL<BrownNoiseFlickerL<StripesX<Int<2600>,Scale<IncrementWithReset<ThresholdPulseF<StrobeF<Int<6>,Int<1>>,Int<32000>>,ThresholdPulseF<ThresholdPulseF<IsLessThan<HoldPeakF<Ifon<SwingSpeed<400>,Int<0>>,Int<150>,Int<32000>>,Int<8000>>,Int<32000>>>,Int<30000>,Int<3000>>,Int<-1200>,Int<-4000>>,RgbArg<SWING_COLOR_ARG,Rgb<255,0,255>>,Mix<Int<16384>,Black,RgbArg<SWING_COLOR_ARG,Rgb<255,0,255>>>,Mix<Int<16384>,RgbArg<SWING_COLOR_ARG,Rgb<255,0,255>>,White>>,Int<50>>,SmoothStep<IncrementWithReset<Scale<IsGreaterThan<HoldPeakF<Ifon<SwingSpeed<400>,Int<0>>,Int<150>,Int<32000>>,Int<18000>>,Int<0>,ThresholdPulseF<StrobeF<Scale<HoldPeakF<Ifon<SwingAcceleration<>,Int<0>>,Int<150>,Int<32000>>,Int<20>,Int<200>>,Int<1>>,Int<32000>>>,ThresholdPulseF<IsLessThan<HoldPeakF<Ifon<SwingSpeed<400>,Int<0>>,Int<150>,Int<32000>>,Int<8000>>,Int<32000>>,Int<42000>,Int<1500>>,Int<-8000>>>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<WavLen<>>,TrWipeIn<200>>,AlphaL<AudioFlickerL<RgbArg<STAB_COLOR_ARG,Rgb<255,0,255>>>,SmoothStep<IntArg<MELT_SIZE_ARG,30644>,Int<2000>>>,TrWipe<200>>,EFFECT_STAB>,TransitionEffectL<TrConcat<TrInstant,AlphaMixL<Bump<Scale<BladeAngle<>,Int<28000>,Int<8000>>,Int<14000>>,RgbArg<BLAST_COLOR_ARG,Rgb<118,0,194>>,Mix<Int<16384>,Black,RgbArg<BLAST_COLOR_ARG,Rgb<118,0,194>>>>,TrFade<300>>,EFFECT_BLAST>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,0,255>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,LockupTrL<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AudioFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,0,75>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,0,75>>,Int<200>>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,0,75>>,TrFade<400>>,TrConcat<TrCenterWipeX<Int<150>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-10000>>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,0,75>>,TrJoin<TrCenterWipeX<Int<150>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-10000>>>>,TrSmoothFade<150>>>,SaberBase::LOCKUP_NORMAL>,LockupTrL<Stripes<3000,-2000,RandomBlink<30000,Strobe<Rgb<125,125,225>,RgbArg<LB_COLOR_ARG,Rgb<255,0,75>>,50,1>,Rgb<75,75,150>>,RandomPerLEDFlicker<Rgb<20,20,100>,Rgb<100,100,150>>>,TrWipe<200>,TrWipe<200>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,0,255>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30077>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,0,255>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30077>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,30644>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,30644>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,30644>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrConcat<TrWipeInX<Mult<IgnitionTime<1000>,Int<6553>>>,RandomBlink<30000,RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>,Black>,TrJoin<TrDelayX<Mult<IgnitionTime<1000>,Int<19660>>>,TrWipeInX<Mult<IgnitionTime<230>,Int<6553>>>>,Mix<SmoothStep<Scale<SlowNoise<Int<30000>>,IntArg<EMITTER_SIZE_ARG,1000>,Sum<Int<5000>,IntArg<EMITTER_SIZE_ARG,1000>>>,Int<-3000>>,Black,RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>>,TrWipeX<Mult<IgnitionTime<1000>,Int<19660>>>>,TrConcat<TrJoin<TrDelayX<Mult<RetractionTime<0>,Int<16384>>>,TrWipeInX<Mult<RetractionTime<0>,Int<16384>>>>,Mix<SmoothStep<NoisySoundLevel,Int<-1>>,Black,RgbArg<RETRACTION_COLOR_ARG,Rgb<255,255,255>>>,TrWipeInX<Mult<RetractionTime<0>,Int<16384>>>>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<Trigger<EFFECT_PREON,Mult<Int<16384>,WavLen<EFFECT_PREON>>,Mult<Int<10922>,WavLen<EFFECT_PREON>>,Mult<Int<5462>,WavLen<EFFECT_PREON>>>,BrownNoiseFlicker<Black,RgbArg<PREON_COLOR_ARG,Rgb<255,255,255>>,100>,RandomPerLEDFlicker<RgbArg<PREON_COLOR_ARG,Rgb<255,255,255>>,Rgb<50,50,50>>,BrownNoiseFlicker<Mix<NoisySoundLevel,RgbArg<PREON_COLOR_ARG,Rgb<255,255,255>>,RotateColorsX<Int<4000>,RgbArg<PREON_COLOR_ARG,Rgb<255,255,255>>>>,White,50>>,SmoothStep<Scale<NoisySoundLevel,Int<-10000>,Int<36000>>,Int<-4000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,EFFECT_PREON>>>(),
/* copyright Fett263 CustomBlade (Primary Blade) OS6 Style
https://fett263.com/fett263-proffieOS6-style-library.html#CustomBlade
OS6.7 v4.020
Single Style
Color Blend (Erratic)
Default: ElectroStaff
1: Shock Baton
Base Color: Rgb<255,0,0> (0)
--Effects Included--
Preon Effect: Faulty Ignition (PreOn Color)
Ignition Effect: Lightning Strike
Retraction Effect: Glitch Off
Lockup Effect: Responsive Lockup, Begin Effect: Localized Flash, End Effect: Power Burst
LightningBlock Effect: Force Lightning
Drag Effect: Intensity Sparking Drag
Melt Effect: Intensity Melt
Stab Effect: AudioFlicker Stab
Blast Effect: Responsive Blast Fade (Large)
Clash Effect: Responsive Clash
Swing Effect: Lightning Swing
*/
StylePtr<Layers<Mix<Scale<SlowNoise<Int<1000>>,Int<0>,Int<17764>>,StaticFire<Strobe<RgbArg<BASE_COLOR_ARG,Rgb<0,5,158>>,Strobe<Rgb<100,100,150>,RandomPerLEDFlicker<RgbArg<BASE_COLOR_ARG,Rgb<0,5,158>>,Black>,50,1>,100,1>,Mix<Int<6425>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,5,158>>>,0,5,2,1000,5>,BrownNoiseFlicker<BrownNoiseFlicker<RgbArg<BASE_COLOR_ARG,Rgb<194,0,0>>,Black,300>,Stripes<3000,-4000,Rgb<50,50,75>,Rgb<100,100,150>,Rgb<10,10,15>,Rgb<150,150,225>>,200>>,AlphaL<BrownNoiseFlickerL<StripesX<Int<2600>,Scale<IncrementWithReset<ThresholdPulseF<StrobeF<Int<6>,Int<1>>,Int<32000>>,ThresholdPulseF<ThresholdPulseF<IsLessThan<HoldPeakF<Ifon<SwingSpeed<400>,Int<0>>,Int<150>,Int<32000>>,Int<8000>>,Int<32000>>>,Int<30000>,Int<3000>>,Int<-1200>,Int<-4000>>,RgbArg<SWING_COLOR_ARG,Rgb<255,0,255>>,Mix<Int<16384>,Black,RgbArg<SWING_COLOR_ARG,Rgb<255,0,255>>>,Mix<Int<16384>,RgbArg<SWING_COLOR_ARG,Rgb<255,0,255>>,White>>,Int<50>>,SmoothStep<IncrementWithReset<Scale<IsGreaterThan<HoldPeakF<Ifon<SwingSpeed<400>,Int<0>>,Int<150>,Int<32000>>,Int<18000>>,Int<0>,ThresholdPulseF<StrobeF<Scale<HoldPeakF<Ifon<SwingAcceleration<>,Int<0>>,Int<150>,Int<32000>>,Int<20>,Int<200>>,Int<1>>,Int<32000>>>,ThresholdPulseF<IsLessThan<HoldPeakF<Ifon<SwingSpeed<400>,Int<0>>,Int<150>,Int<32000>>,Int<8000>>,Int<32000>>,Int<42000>,Int<1500>>,Int<-8000>>>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<WavLen<>>,TrWipeIn<200>>,AlphaL<AudioFlickerL<RgbArg<STAB_COLOR_ARG,Rgb<255,0,255>>>,SmoothStep<IntArg<MELT_SIZE_ARG,30644>,Int<2000>>>,TrWipe<200>>,EFFECT_STAB>,TransitionEffectL<TrConcat<TrInstant,AlphaMixL<Bump<Scale<BladeAngle<>,Int<28000>,Int<8000>>,Int<14000>>,RgbArg<BLAST_COLOR_ARG,Rgb<118,0,194>>,Mix<Int<16384>,Black,RgbArg<BLAST_COLOR_ARG,Rgb<118,0,194>>>>,TrFade<300>>,EFFECT_BLAST>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,0,255>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,LockupTrL<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AudioFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,0,75>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,0,75>>,Int<200>>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,0,75>>,TrFade<400>>,TrConcat<TrCenterWipeX<Int<150>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-10000>>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,0,75>>,TrJoin<TrCenterWipeX<Int<150>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,22889>,Int<-10000>>>>,TrSmoothFade<150>>>,SaberBase::LOCKUP_NORMAL>,LockupTrL<Stripes<3000,-2000,RandomBlink<30000,Strobe<Rgb<125,125,225>,RgbArg<LB_COLOR_ARG,Rgb<255,0,75>>,50,1>,Rgb<75,75,150>>,RandomPerLEDFlicker<Rgb<20,20,100>,Rgb<100,100,150>>>,TrWipe<200>,TrWipe<200>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,0,255>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30077>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,0,255>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30077>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,30644>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,30644>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,30644>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrConcat<TrWipeInX<Mult<IgnitionTime<1000>,Int<6553>>>,RandomBlink<30000,RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>,Black>,TrJoin<TrDelayX<Mult<IgnitionTime<1000>,Int<19660>>>,TrWipeInX<Mult<IgnitionTime<230>,Int<6553>>>>,Mix<SmoothStep<Scale<SlowNoise<Int<30000>>,IntArg<EMITTER_SIZE_ARG,1000>,Sum<Int<5000>,IntArg<EMITTER_SIZE_ARG,1000>>>,Int<-3000>>,Black,RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>>,TrWipeX<Mult<IgnitionTime<1000>,Int<19660>>>>,TrConcat<TrJoin<TrDelayX<Mult<RetractionTime<0>,Int<16384>>>,TrWipeInX<Mult<RetractionTime<0>,Int<16384>>>>,Mix<SmoothStep<NoisySoundLevel,Int<-1>>,Black,RgbArg<RETRACTION_COLOR_ARG,Rgb<255,255,255>>>,TrWipeInX<Mult<RetractionTime<0>,Int<16384>>>>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<Trigger<EFFECT_PREON,Mult<Int<16384>,WavLen<EFFECT_PREON>>,Mult<Int<10922>,WavLen<EFFECT_PREON>>,Mult<Int<5462>,WavLen<EFFECT_PREON>>>,BrownNoiseFlicker<Black,RgbArg<PREON_COLOR_ARG,Rgb<255,255,255>>,100>,RandomPerLEDFlicker<RgbArg<PREON_COLOR_ARG,Rgb<255,255,255>>,Rgb<50,50,50>>,BrownNoiseFlicker<Mix<NoisySoundLevel,RgbArg<PREON_COLOR_ARG,Rgb<255,255,255>>,RotateColorsX<Int<4000>,RgbArg<PREON_COLOR_ARG,Rgb<255,255,255>>>>,White,50>>,SmoothStep<Scale<NoisySoundLevel,Int<-10000>,Int<36000>>,Int<-4000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,EFFECT_PREON>>>(),"blue edges"}
};
BladeConfig blades[] = {
{ 0,
WS281XBladePtr<75, bladePin, Color8::GRB, PowerPINS<bladePowerPin1, bladePowerPin3, bladePowerPin4, bladePowerPin6> >(),
WS281XBladePtr<104, blade3Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin5> >(),
CONFIGARRAY(presets)}
};
#endif