#ifdef CONFIG_TOP #include "proffieboard_v3_config.h" #define NUM_BLADES 2 #define NUM_BUTTONS 2 #define VOLUME 1500 const unsigned int maxLedsPerStrip = 144; #define CLASH_THRESHOLD_G 3.0 #define ENABLE_AUDIO #define ENABLE_MOTION #define ENABLE_WS2811 #define ENABLE_SD #define ENABLE_SERIAL #define ORIENTATION ORIENTATION_USB_TOWARDS_BLADE #define DISABLE_DIAGNOSTIC_COMMANDS #define FETT263_MULTI_PHASE #define FETT263_TWIST_ON_NO_BM #define FETT263_TWIST_ON #define FETT263_TWIST_OFF #define MOTION_TIMEOUT 60 * 3 * 1000 #define FETT263_THRUST_ON #define FETT263_THRUST_OFF #define FETT263_DISABLE_COPY_PRESET #define FETT263_DISABLE_CHANGE_FONT // #define ENABLE_SSD1306 // // Max 20 characters // #define BLE_PASSWORD "your password" // // Max 32 characters. // #define BLE_NAME "Your Saber Name" // // Max 9 characters // #define BLE_SHORTNAME "Saber" #define MOTION_TIMEOUT 60 * 3 * 800 #endif #ifdef CONFIG_PROP #include "../props/saber_fett263_buttons.h" #endif #ifdef CONFIG_PRESETS Preset presets[] = { { "Shadowfall", "tracks/Endor.wav", StylePtr,StyleFire,Rgb<0,18,42>>,200>,Rgb<0,25,60>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,Mix,BrownNoiseFlicker,300>,StyleFire,Rgb<0,60,0>>,200>,Rgb<0,80,0>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>>>,StyleFire,TrInstant,TrSmoothFade<1600>,EFFECT_IGNITION>,Mix,Int<16000>>,StyleFire,Rgb<0,18,42>>,200>,Rgb<0,25,60>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,RandomPerLEDFlicker>,TrConcat,Mix,Int<16000>>,StyleFire,Rgb<0,18,42>>,200>,Rgb<0,25,60>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,RandomPerLEDFlicker>,TrWipe<600>>,TrInstant,EFFECT_STAB>,White,TrInstant,TrSmoothFade<200>,EFFECT_LOCKUP_BEGIN>,StyleFire,TrInstant,TrSmoothFade<500>,EFFECT_LOCKUP_END>,Mix,Int<10000>>,StyleFire,Rgb<0,18,42>>,200>,Rgb<0,25,60>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,White>,TrInstant,TrFade<200>,EFFECT_DRAG_BEGIN>,Mix,Int<10000>>,StyleFire,Rgb<0,18,42>>,200>,Rgb<0,25,60>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,White>,TrInstant,TrFade<300>,EFFECT_DRAG_END>,Black,TrConcat,TrColorCycle<600>>,TrInstant,EFFECT_RETRACTION>,Pulsing,100>>,Gradient,100>,DeepSkyBlue>,3500>,RandomPerLEDFlicker,Bump,Int<20000>>,Bump,Int<10000>>>,White>,White>,300,500,Black>>(), StylePtr,StyleFire,Rgb<0,18,42>>,200>,Rgb<0,25,60>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>,Mix,BrownNoiseFlicker,300>,StyleFire,Rgb<0,60,0>>,200>,Rgb<0,80,0>,0,6,FireConfig<10,1000,2>,FireConfig<4000,0,0>,FireConfig<2,1000,5>,FireConfig<100,0,5>>>>,InOutHelperL,Int<800>>>>>(), }, { "Deadlink", "tracks/hellstyle.wav", StylePtr,Int<6000>,Int<24000>>,Int<10000>>,Stripes<5000,-1300,RotateColorsX>,RotateColorsX>,RotateColorsX>,RotateColorsX>>,AudioFlicker>,RotateColorsX>>>,AlphaL,RotateColorsX>,Pulsing>,Black,800>>,SwingSpeed<350>>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat,EFFECT_LOCKUP_BEGIN>,TrFade<400>,Stripes<3000,-3500,RotateColorsX,RandomPerLEDFlicker>,Black>,BrownNoiseFlicker,RotateColorsX>,200>,RandomPerLEDFlicker>,RotateColorsX>>>,TrFade<1350>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,EffectSequence>,TrFade<300>>,EFFECT_BLAST>,ResponsiveBlastL,Scale,Int<100>,Int<400>>>,ResponsiveBlastWaveL,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,ResponsiveBlastFadeL,Int<6000>,Int<12000>>,Scale,Int<400>,Int<100>>>,ResponsiveBlastL,Int<400>,Int<100>>,Scale,Int<200>,Int<100>>,Scale,Int<400>,Int<200>>>>,ResponsiveClashL,EFFECT_CLASH>,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,TransitionEffectL,RandomPerLEDFlicker>,Black>,BrownNoiseFlicker,RotateColorsX>,200>,RandomPerLEDFlicker>,RotateColorsX>>>,TrFade<2700>>,EFFECT_IGNITION>,TransitionEffectL,40>,TrFade<1100>>,EFFECT_RETRACTION>,LockupTrL,SmoothStep,Int<30000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Red,OrangeRed>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,EffectSequence>,AlphaL>,AlphaL>,AlphaL>>,InOutTrL,TrWipeInSparkTip>,TransitionEffectL,Bump>>,TrDelay<2000>,AlphaL,Bump>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,TransitionEffectL>,SmoothStep>,Int<1000>,Int<4000>>,Int<-4000>>>,TrDelay<1250>>,EFFECT_RETRACTION>>>(), StylePtr,Int<6000>,Int<24000>>,Int<10000>>,Stripes<5000,-1300,RotateColorsX>,RotateColorsX>,RotateColorsX>,RotateColorsX>>,AudioFlicker>,RotateColorsX>>>,AlphaL,RotateColorsX>,Pulsing>,Black,800>>,SwingSpeed<350>>,InOutHelperL,Int<800>>>>>(), }, { "Apocalypse", "tracks/BattleOfHeros.wav", StylePtr,Int<6000>,Int<24000>>,Int<10000>>,Mix>,StyleFire,RandomPerLEDFlicker>,RotateColorsX>>,300>,RotateColorsX>,0,6,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>>,StyleFire,RandomPerLEDFlicker>,RotateColorsX>>,300>,RotateColorsX>,0,6,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>>>,HumpFlicker,RotateColorsX>,40>>,AlphaL>>,SwingSpeed<350>>,SmoothStep,Int<29000>,Int<9500>>,Int<16000>>>,LockupTrL>,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat,StyleFire,RandomPerLEDFlicker>,RotateColorsX>>,300>,RotateColorsX>,0,6,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>>,TrFade<50>,RotateColorsX>,TrFade<525>,StyleFire,RandomPerLEDFlicker>,RotateColorsX>>,300>,RotateColorsX>,0,6,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>>,TrFade<50>,RotateColorsX>,TrFade<250>,StyleFire,RandomPerLEDFlicker>,RotateColorsX>>,300>,RotateColorsX>,0,6,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>>,TrFade<100>,RotateColorsX>,TrBoing<950,3>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL>,EffectSequence,Scale,Int<100>,Int<400>>,Int<400>>,LocalizedClashL,ResponsiveBlastWaveL,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,BlastL,ResponsiveBlastFadeL,Int<6000>,Int<12000>>,Scale,Int<400>,Int<100>>>,ResponsiveBlastL,Int<400>,Int<100>>,Scale,Int<200>,Int<100>>,Scale,Int<400>,Int<200>>>>,ResponsiveClashL,Moccasin,TrInstant,TrFade<100>,EFFECT_CLASH>,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,TransitionEffectL,RandomPerLEDFlicker>,Black>,BrownNoiseFlicker,RotateColorsX>,200>,RandomPerLEDFlicker>,RotateColorsX>>>,TrFade<2500>,Stripes<3000,-2250,RotateColorsX,RandomPerLEDFlicker>,RotateColorsX>>,BrownNoiseFlicker,RotateColorsX>,200>,RandomPerLEDFlicker>,RotateColorsX>>>,TrFade<1000>,Stripes<3000,-1500,RotateColorsX>,RandomPerLEDFlicker>,RotateColorsX>>,BrownNoiseFlicker,RotateColorsX>,200>,RandomPerLEDFlicker>,RotateColorsX>>>,TrFade<2500>>,EFFECT_IGNITION>,TransitionEffectL>,40>,TrFade<500>>,EFFECT_RETRACTION>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Rgb<255,200,0>,DarkOrange>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,EffectSequence>,AlphaL>,AlphaL>,AlphaL>>,InOutTrL,TrColorCycle<500>>,TransitionEffectL>,SmoothStep>,Int<500>,Int<5500>>,Int<-4000>>>,TrFade<1100>>,EFFECT_RETRACTION>,TransitionEffectL,Int<10000>>>,TrFade<1600>,AlphaL,Bump,Int<8000>>>,TrFade<1400>,AlphaL,Bump,Int<6000>>>,TrFade<1000>>,EFFECT_RETRACTION>,TransitionEffectL,Bump>>,TrDelay<2000>,AlphaL,Bump>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,TransitionEffectL,Int<2000>,Int<1000>>,BrownNoiseFlicker,100>,RandomPerLEDFlicker,RotateColorsX>>,BrownNoiseFlicker,RotateColorsX,RotateColorsX>>,DarkOrange,50>>,SmoothStep,Int<25000>>,Int<-4000>>>,TrDelay<6500>>,EFFECT_PREON>,TransitionEffectL,TransitionLoopL,Int<115>,Int<400>,Int<250>,Int<0>>>,TrDelay<1000>,TransitionLoopL,Int<215>,Int<300>,Int<395>,Int<0>>>,TrDelay<1500>,TransitionLoopL,Int<345>,Int<200>,Int<500>,Int<0>>>,TrDelay<1500>,AlphaL,Bump,Int<6000>>>,TrBoing<500,2>>,EFFECT_PREON>,TransitionEffectL,AlphaL,10>,Bump,Int<4000>>>,TrFade<2000>,AlphaL,15>,Bump,Int<5000>>>,TrFade<2500>,AlphaL,Bump,Int<6000>>>,TrBoing<500,2>>,EFFECT_PREON>>>(), StylePtr,Int<6000>,Int<24000>>,Int<10000>>,Mix>,StyleFire,RandomPerLEDFlicker>,RotateColorsX>>,300>,RotateColorsX>,0,6,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>>,StyleFire,RandomPerLEDFlicker>,RotateColorsX>>,300>,RotateColorsX>,0,6,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>>>,HumpFlicker,RotateColorsX>,40>>,AlphaL>>,SwingSpeed<350>>,SmoothStep,Int<29000>,Int<9500>>,Int<16000>>>,InOutHelperL,Int<800>>>>>(), }, { "Seethe", "tracks/hellstyle.wav", StylePtr>,RotateColorsX>>,TransitionEffectL,AlphaL>,SwingSpeed<500>>,TrDelay<30000>,AlphaL>,SwingSpeed<500>>,TrFade<800>>,EFFECT_FORCE>,AlphaL>,Black,300>,SwingSpeed<315>>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<18000>,Int<18000>>>>,AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<18000>>>>,TrConcat>,TrConcat,Int<0>>,TrWaveX,Int<100>,Int<400>,Scale,Scale,Int<4000>,Int<26000>>,Int<6000>>>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,Mix>,AlphaL,Bump,Int<6000>>>,AlphaL>,Bump,Int<22000>>>>,ResponsiveStabL,EffectSequence,Scale,Int<100>,Int<400>>>,LocalizedClashL,ResponsiveBlastWaveL,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,BlastL,ResponsiveBlastFadeL,Int<6000>,Int<12000>>,Scale,Int<400>,Int<100>>>,ResponsiveBlastL,Int<400>,Int<100>>,Scale,Int<200>,Int<100>>,Scale,Int<400>,Int<200>>>>,ResponsiveClashL,EFFECT_CLASH>,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,LockupTrL>,SmoothStep,Int<15000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,DarkOrange,Orange>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,EffectSequence>,AlphaL>,AlphaL>,AlphaL>>,InOutTrL,TrWipeIn<1375>>,TransitionEffectL,Bump>>,TrDelay<2000>,AlphaL,Bump>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>>>(), StylePtr>,RotateColorsX>>,AlphaL>,Black,300>,SwingSpeed<315>>,Mix>,AlphaL,Bump,Int<6000>>>,AlphaL>,Bump,Int<22000>>>>,InOutHelperL,Int<800>>>>>(), }, { "Splinter", "tracks/DarkPath.wav", StylePtr,Int<6000>,Int<24000>>,Int<10000>>,Stripes<5000,-1300,RotateColorsX,RotateColorsX>,RotateColorsX,RotateColorsX>>,AudioFlicker,RotateColorsX>>,AlphaL>,Black,300>,SwingSpeed<600>>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat,EFFECT_LOCKUP_BEGIN>,TrFade<400>,Stripes<3000,-3500,RotateColorsX,RandomPerLEDFlicker,Black>,BrownNoiseFlicker,RotateColorsX,200>,RandomPerLEDFlicker,RotateColorsX>>,TrFade<1350>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,OriginalBlastL,ResponsiveClashL,EFFECT_CLASH>,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,TransitionEffectL>,RandomPerLEDFlicker>,Black>,BrownNoiseFlicker>,RotateColorsX>,200>,RandomPerLEDFlicker>,RotateColorsX>>>,TrFade<2700>>,EFFECT_IGNITION>,TransitionEffectL>,40>,TrFade<1100>>,EFFECT_RETRACTION>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,SteelBlue,DodgerBlue>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,EffectSequence>,AlphaL>,AlphaL>,AlphaL>>,InOutTrL,TrWipeInSparkTip>,TransitionEffectL,Bump>>,TrDelay<2000>,AlphaL,Bump>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,TransitionEffectL>,SmoothStep>,Int<1000>,Int<4000>>,Int<-4000>>>,TrDelay<1250>>,EFFECT_RETRACTION>>>(), StylePtr,Int<6000>,Int<24000>>,Int<10000>>,Stripes<5000,-1300,RotateColorsX,RotateColorsX>,RotateColorsX,RotateColorsX>>,AudioFlicker,RotateColorsX>>,AlphaL>,Black,300>,SwingSpeed<600>>,InOutHelperL,Int<800>>>>>(), }, { "Lord of Betrayal", "tracks/Mace.wav", StylePtr,Rgb<100,0,100>,150>,LockupTrL,75>,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,75>,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,TransitionEffectL>,TrInstant>,Stripes<5000,-2500,RgbArg>,Mix,Black,RgbArg>>,Mix,Black,RgbArg>>>,TrFade<800>>,EFFECT_IGNITION>,TransitionEffectL>,TrInstant>,Stripes<5000,2500,RgbArg>,Mix,Rgb<128,0,128>,RgbArg>>,Mix,Black,RgbArg>>>,TrFade<800>>,EFFECT_RETRACTION>,ResponsiveLightningBlockL,75>,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,40>,TrSmoothFade<600>>>,TransitionEffectL,Bump,Int<3000>,Int<29000>>,Int<6000>>>,TrCenterWipeX,Scale,Int<3000>,Int<29000>>>,AlphaL,Int<3000>,Int<29000>>>,Stripes<1600,-2000,RgbArg,Mix,Black,RgbArg>>>,Bump,Int<3000>,Int<29000>>,Int<32000>>>,TrJoin,TrCenterWipeX,Scale,Int<3000>,Int<29000>>>>>,EFFECT_BLAST>,ResponsiveClashL,75>,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<40000>>,LockupTrL,SmoothStep,Int<7000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>>>(), StylePtr,Rgb<100,0,100>,150>,InOutHelperL,Int<800>>>>>(), }, { "Lord of Pain", "tracks/stasis.wav", StylePtr,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,BlastL,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,LightCyan,LightCyan>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>>>(), StylePtr,InOutHelperL,Int<800>>>>>(), }, { "Lord of Hunger", "tracks/SK2.wav", StylePtr,TransitionEffectL,AlphaL,SwingSpeed<500>>,TrDelay<30000>,AlphaL,SwingSpeed<500>>,TrFade<800>>,EFFECT_FORCE>,AlphaL>,Black,300>,SwingSpeed<315>>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,TrWaveX,Int<100>,Int<400>,Scale,Scale,Int<4000>,Int<26000>>,Int<6000>>>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,Mix>,AlphaL>,Bump,Int<6000>>>,AlphaL>,Bump,Int<22000>>>>,ResponsiveStabL,TransitionEffectL,Bump,Int<3000>,Int<29000>>,Int<6000>>>,TrCenterWipeX,Scale,Int<3000>,Int<29000>>>,AlphaL,Int<3000>,Int<29000>>>,Stripes<1600,-2000,RgbArg,Mix,Black,RgbArg>>>,Bump,Int<3000>,Int<29000>>,Int<32000>>>,TrJoin,TrCenterWipeX,Scale,Int<3000>,Int<29000>>>>>,EFFECT_BLAST>,ResponsiveClashL,75>,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<40000>>,LockupTrL,SmoothStep,Int<7000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,EffectSequence>,AlphaL>,AlphaL>,AlphaL>>,InOutTrL,TrWipeIn<1375>>,TransitionEffectL,Bump>>,TrDelay<2000>,AlphaL,Bump>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>>>(), StylePtr,InOutHelperL,Int<800>>>>>(), }, { "The Blinded One", "tracks/therescue.wav", StylePtr,LockupTrL,75>,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,75>,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,75>,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,TransitionEffectL,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,ResponsiveClashL,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<30000>>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>>>(), StylePtr,InOutHelperL,Int<800>>>>>(), }, { "Prodigal Butcher", "tracks/RevanSongYT.wav", StylePtr>,RotateColorsX>,Pulsing>,Rgb<25,0,50>,800>>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<20000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,AlphaL>,SmoothStep>,Int<1200>,Int<1200>>,Int<-8000>>>,BlastL,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,LockupTrL,SmoothStep,Int<20000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>>>(), StylePtr>,RotateColorsX>,Pulsing>,Rgb<25,0,50>,800>>,InOutHelperL,Int<800>>>>>(), }, { "Metallic Jaw", "tracks/something.wav", StylePtr,Black,RgbArg>,75>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<20000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,BlastL,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,LockupTrL,SmoothStep,Int<20000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>>>(), StylePtr,Black,RgbArg>,75>,InOutHelperL,Int<800>>>>>(), }, { "Shadow Hand", "tracks/something.wav", StylePtr,Black,RgbArg>,75>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<20000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,BlastL,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,LockupTrL,SmoothStep,Int<20000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>>>(), StylePtr,Black,RgbArg>,75>,InOutHelperL,Int<800>>>>>(), }, { "Last Handmaiden", "tracks/hanszimmer.wav", StylePtr>,RotateColorsX>>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,AudioFlicker,LemonChiffon>,50,1>,TrConcat,Bump,Int<18000>>>,TrFade<200>>,TrConcat,Int<16000>>,30>,TrSmoothFade<600>>>,ResponsiveStabL>,TrWipeInX,50>>,TrFadeX,50>>>,BlastL>,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,LockupTrL,SmoothStep,Int<10000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>>>(), StylePtr>,RotateColorsX>>,InOutHelperL,Int<800>>>>>(), }, { "Crazy Hermit", "tracks/therescue.wav", StylePtr,SpringGreen,Green>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,TransitionEffectL,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,TransitionEffectL,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>>>(), StylePtr,SpringGreen,Green>,InOutHelperL,Int<800>>>>>(), }, { "Sentinel Shan", "tracks/something.wav", StylePtr,Rgb16<47361,30457,0>>,Pulsing,Rgb16<47361,30457,0>>,AudioFlicker,Rgb16<47361,30457,0>>,HumpFlicker,AudioFlicker,Rgb16<47361,30457,0>>,AudioFlicker,Rgb16<47361,30457,0>>>,Gradient,Rgb16<47361,30457,0>>,AudioFlicker,Rgb16<47361,30457,0>>,HumpFlicker,AudioFlicker,Rgb16<47361,30457,0>>,AudioFlicker,Rgb16<47361,30457,0>>,AudioFlicker,Rgb16<47361,30457,0>>>,3500>,HumpFlicker>>,White>,Cyan,400>,200,200>>(), StylePtr,Rgb16<47361,30457,0>>,InOutHelperL,Int<800>>>>>(), }, { "Cathar Guardian", "tracks/something.wav", StylePtr>,Black,20>,RotateColorsX>,BrownNoiseFlicker>,70>,RotateColorsX>>,RotateColorsX>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,ResponsiveBlastL,Scale,Int<100>,Int<400>>>,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,TransitionEffectL>>,TrFade<1200>>,EFFECT_RETRACTION>,LockupTrL>,SmoothStep,Int<10000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Orange,DarkOrange>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeInSparkTip>,TransitionEffectL,AlphaL>,90>,SmoothStep,Int<-500>>>,TrDelay<1000>,AlphaL>,90>,SmoothStep,Int<-500>>>,TrWipe<300>,AlphaL>,60>,SmoothStep,Int<-500>>>,TrDelay<1000>,AlphaL>,60>,SmoothStep,Int<-500>>>,TrWipe<300>,AlphaL>,30>,SmoothStep,Int<-500>>>,TrDelay<5100>>,EFFECT_PREON>>>(), StylePtr>,Black,20>,RotateColorsX>,BrownNoiseFlicker>,70>,RotateColorsX>>,RotateColorsX>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,InOutHelperL,Int<800>>>>>(), }, { "Competent Slicer", "tracks/something.wav", StylePtr,Mix,Black,RgbArg>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,TransitionEffectL,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix,Int<26000>>,TransitionEffectL,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<500>>>>(), StylePtr,Int<800>>>>>(), }, { "The Huntress", "tracks/something.wav", StylePtr>,RotateColorsX>>,EffectSequence,Black,300>,SwingSpeed<450>>,AlphaL>,Black>,White,RotateColorsX>,White>,SwingSpeed<450>>>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<15000>>>>,TrConcat,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat,EFFECT_LOCKUP_BEGIN>,TrFade<700>>,SaberBase::LOCKUP_NORMAL>,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<30000>>,TransitionEffectL,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,LockupTrL,SmoothStep,Int<10000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,InOutTrL,TrWipeIn<500>>>>(), StylePtr>,RotateColorsX>>,InOutHelperL,Int<800>>>>>(), }, { "The Exile", "tracks/something.wav", StyleRainbowPtr<300, 800>(), StylePtr,Int<800>>>>>(), }, { "Magnetic", "tracks/hellstyle.wav", StylePtr,Int<3000>,Int<6000>>,Scale,Int<-50>,Int<-100>>,StripesX,Int<1000>,Int<3000>>,Scale,Int<25>,Int<80>>,Pulsing>,RotateColorsX>,3000>,Mix>,RotateColorsX>,RotateColorsX>>>,RotateColorsX>,Pulsing>,StripesX,Int<2000>,Int<4000>>,Sin,Int<25>,Int<75>>,Mix>,RotateColorsX,RotateColorsX>>,RotateColorsX>>,2000>,Pulsing>,RotateColorsX>,3000>>,AlphaL,Int<3000>,Int<6000>>,Scale,Int<60>,Int<140>>,StripesX,Int<1000>,Int<3000>>,Scale,Int<-25>,Int<-80>>,Pulsing>,RotateColorsX,RotateColorsX>>,RotateColorsX>,4000>,Mix>,RotateColorsX>,Black>>,RotateColorsX>,Pulsing>,StripesX,Int<2000>,Int<4000>>,Sin,Int<-25>,Int<-75>>,Mix>,RotateColorsX,RotateColorsX>>,RotateColorsX>>,2000>,Pulsing>,RotateColorsX>,3000>>,Int<10000>>>,AlphaL,Int<3800>,Int<200>>,BrownNoiseFlicker>,100>,RandomPerLEDFlicker>,RotateColorsX>>,BrownNoiseFlicker>,RotateColorsX,RotateColorsX>>,RotateColorsX>,50>>,SmoothStep,Int<36000>>,Int<-4000>>>>,SwingSpeed<450>>,LockupTrL>,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,AlphaL>,SmoothStep>,Int<1000>,Int<4000>>,Int<-4000>>>,ResponsiveStabL,EffectSequence,Scale,Int<100>,Int<400>>,Int<400>>,LocalizedClashL,ResponsiveBlastWaveL,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,BlastL,ResponsiveBlastFadeL,Int<6000>,Int<12000>>,Scale,Int<400>,Int<100>>>,ResponsiveBlastL,Int<400>,Int<100>>,Scale,Int<200>,Int<100>>,Scale,Int<400>,Int<200>>>>,ResponsiveClashL,NavajoWhite,TrInstant,TrFade<100>,EFFECT_CLASH>,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,TransitionEffectL,RotateColorsX>,TrInstant,RotateColorsX>,TrFade<550>>,EFFECT_IGNITION>,TransitionEffectL>>,TrFade<1000>>,EFFECT_RETRACTION>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Red,Orange>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,EffectSequence>,AlphaL>,AlphaL>,AlphaL>>,InOutTrL,TrWipeInSparkTip>,TransitionEffectL,Bump>>,TrDelay<2000>,AlphaL,Bump>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>>>(), StylePtr,Int<3000>,Int<6000>>,Scale,Int<-50>,Int<-100>>,StripesX,Int<1000>,Int<3000>>,Scale,Int<25>,Int<80>>,Pulsing>,RotateColorsX>,3000>,Mix>,RotateColorsX>,RotateColorsX>>>,RotateColorsX>,Pulsing>,StripesX,Int<2000>,Int<4000>>,Sin,Int<25>,Int<75>>,Mix>,RotateColorsX,RotateColorsX>>,RotateColorsX>>,2000>,Pulsing>,RotateColorsX>,3000>>,AlphaL,Int<3000>,Int<6000>>,Scale,Int<60>,Int<140>>,StripesX,Int<1000>,Int<3000>>,Scale,Int<-25>,Int<-80>>,Pulsing>,RotateColorsX,RotateColorsX>>,RotateColorsX>,4000>,Mix>,RotateColorsX>,Black>>,RotateColorsX>,Pulsing>,StripesX,Int<2000>,Int<4000>>,Sin,Int<-25>,Int<-75>>,Mix>,RotateColorsX,RotateColorsX>>,RotateColorsX>>,2000>,Pulsing>,RotateColorsX>,3000>>,Int<10000>>>,AlphaL,Int<3800>,Int<200>>,BrownNoiseFlicker>,100>,RandomPerLEDFlicker>,RotateColorsX>>,BrownNoiseFlicker>,RotateColorsX,RotateColorsX>>,RotateColorsX>,50>>,SmoothStep,Int<36000>>,Int<-4000>>>>,SwingSpeed<450>>,AlphaL>,SmoothStep>,Int<1000>,Int<4000>>,Int<-4000>>>>,InOutHelperL,Int<800>>>>>(), }, { "Power", "tracks/Power.wav", &style_charging, &style_charging,}, }; BladeConfig blades[] = { { 0, WS281XBladePtr<128, bladePin, Color8::GRB, PowerPINS >(), WS281XBladePtr<30, blade2Pin, Color8::GRB, PowerPINS >() , CONFIGARRAY(presets) }, }; #endif #ifdef CONFIG_BUTTONS Button PowerButton(BUTTON_POWER, powerButtonPin, "pow"); Button AuxButton(BUTTON_AUX, auxPin, "aux"); #endif