Was that while plugged into USB?
Keeping it plugged in makes some parts of the chip stay active, so it will draw more power.
No, it was unplugged from usb.
Ok I have a thing now.
After IDLE_TIME_OFF expires, I get a lingering “afterimage” on the Hilt side blade PCB LEDs.
However only with StylePtr<>() styles.
With a default style such as StyleNormalPtr<CYAN, WHITE, 300, 800>()
the LEDs are fully off after IDLE_TIME_OFF expires.
The color shown is whatever was last showing, so it’s behaving like the data stream was lost (expected), but there’s still some leaking power.
The PCB’s blade is:
WS281XBladePtr<5, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >()
No blade in hilt, but it’s wired sharing FETs for LED pads 2&3 (typical)
When adding #define SHARED_POWER_PINS
a single Green LED (not one of the original 3) is lit, regardless of style color, including testing with Rainbow.
This all started today, I believe after I synced the SVF related updates, (possibly styles/color_select.h or around there somewhere?)
It might be related to the WS2811 optimizations I checked in not too long ago.
Normally when we power a blade off, we make sure to feed out some zeroes to it first to prevent this sort of thing, but with the WS2811 optimizations, the “feeding out” could be buffered and happen later, which could be causing this…
Of course that’s possible. I only noticed it as of today though. I had a compile error about RandomF and SingleValueAdapter that sent me chasing a diff.
Apparently I missed some updates to /styles files in my dumb manual update method.
That said, I don’t recall the last time I had the blade out, so it may have been doing this for a while, and when I did have no blade for the past day or so, I’ve only had StyleNormalPtr styles active from a default config, so…can’t say for sure unfortunately.
I’m still trying to figure this one out.
I’ve added some more debug to the “dumpfusor” command which might help.
In addition, there is also a “monitor fusion” command that might help. (It’s been there the entire time, I just didn’t think of it.)
Ok, I’ll try to trigger again and post the updated info.
When you do, please make sure to run “top” twice and post the second of the two outputs, as I want to make sure we get recent numbers. (The “top” command shows averages from when it was last run.)
I reported this on GitHub issues, but wanted to make sure it was seen in Alpha.
The OLED “message” has gone out of sync with the preset. It lags behind by one, with the previous preset’s message showing. This goes for cycling forward or backward, it’s always the last preset we were on.
I would have to test again, but I’m pretty sure using an image shows correctly.
I added it to the alpha exit criteria list.
Ok, here is the output from the latest motion failure.
Here’s something I didn’t notice until now: even after the saber is turned off, the hum is STILL playing in the output. As before, even though the hum is showing in the console output, it must be set to 0 volume because it’s not audible on the saber.
DISPLAY: Preset: 1
Style RAM = 3548
Scanning sound font: pain done
Scanning sound font: common done
Activating polyphonic font.
Activating SmoothSwing V2
Accent Swings Enabled.
Polyphonic swings: 16
Monophonic swings: 0
Accent Slashes NOT Detected:
unit = 0 vol = 0.50, Playing pain/font/font.wav
channels: 1 rate: 44100 bits: 16
Amplifier off.
Unmounting SD Card.
Ignition.
unit = 0 vol = 0.50, Playing pain/preon/preon4.wav
channels: 1 rate: 44100 bits: 16
Battery voltage: 4.01
Playing pain/out/out03.wav
channels: 1 rate: 44100 bits: 16
unit = 1 vol = 0.00, Playing pain/hum/hum01.wav
channels: 1 rate: 44100 bits: 16
humstart: 1800
unit = 2 vol = 0.00, Playing pain/swingl/swingl03.wav
channels: 1 rate: 44100 bits: 16
unit = 3 vol = 0.00, Playing pain/swingh/swingh03.wav
channels: 1 rate: 44100 bits: 16
Playing pain/swingh/swingh03.wav
channels: 1 rate: 44100 bits: 16
current: 536879528 id= 106 next= 0
last: 536879528 id= 106 next= 0
Motion requested: 1 (millis() - last_motion_request=8788)
Playing pain/swingl/swingl03.wav
channels: 1 rate: 44100 bits: 16
Accel={0.00, 0.18, 1.28} (1.30) Gyro={23.63, -2.79, 12.67} (26.96) down={0.04, 0.61, 0.85} (1.04) mss={-0.39, -4.20, 4.29} (6.02)
ready=0 swing speed=12.97 gyro slope=27.75 last_micros_ = 774576720 now = 966020498
acceleration extrapolator data:
START=772981686 samples=20 S(t^2)=ovf sum={-1.25, 10.73, 16.93} S(.)={-736034.13, 6322801.50, 9975619.00}
start_copy=772981686 avg={-0.06, 0.54, 0.85} slope={0.00, -0.00, 0.00} avg_t=589299.88
773570682 {-0.06, 0.53, 0.85}
773571292 {-0.07, 0.54, 0.85}
773571896 {-0.06, 0.53, 0.85}
773572502 {-0.07, 0.54, 0.85}
773573109 {-0.07, 0.54, 0.85}
773573715 {-0.07, 0.54, 0.85}
773574322 {-0.06, 0.53, 0.85}
773574929 {-0.07, 0.52, 0.85}
773575535 {-0.06, 0.53, 0.85}
773576142 {-0.06, 0.54, 0.85}
773576748 {-0.06, 0.54, 0.84}
773565223 {-0.07, 0.55, 0.84}
773565830 {-0.06, 0.53, 0.84}
773566436 {-0.07, 0.54, 0.84}
773567043 {-0.06, 0.54, 0.84}
773567649 {-0.07, 0.55, 0.84}
773568256 {-0.06, 0.54, 0.84}
773568863 {-0.06, 0.53, 0.85}
773569469 {-0.06, 0.53, 0.85}
773570076 {-0.06, 0.53, 0.85}
ready=1
gyro extrapolator data:
START=772981699 samples=20 S(t^2)=ovf sum={-12.63, -73.85, -21.85} S(.)={-7439426.00, -43521032.00, -12873163.00}
start_copy=772981699 avg={-0.63, -3.69, -1.09} slope={0.00, 0.00, 0.00} avg_t=589299.31
773570695 {-0.67, -3.48, -1.71}
773571304 {-0.55, -4.03, -0.73}
773571908 {-0.61, -3.48, -1.34}
773572515 {-0.61, -3.97, -0.67}
773573121 {-0.67, -3.48, -1.28}
773573728 {-0.67, -3.78, -0.92}
773574334 {-0.31, -3.36, -1.34}
773574941 {-0.55, -4.27, -0.98}
773575548 {-0.18, -3.30, -0.98}
773576154 {-0.92, -3.85, -1.40}
773576761 {-0.49, -3.54, -0.61}
773565236 {-0.98, -3.60, -1.46}
773565842 {-0.67, -3.66, -0.49}
773566448 {-0.61, -3.66, -1.65}
773567055 {-0.79, -3.54, -0.92}
773567662 {-0.55, -3.91, -1.22}
773568269 {-0.92, -3.78, -1.16}
773568875 {-0.61, -3.72, -1.10}
773569482 {-0.67, -3.72, -1.16}
773570088 {-0.61, -3.72, -0.73}
ready=1
Audio DMA: 9.32%
Wav reading: 29.21%
Pixel DMA: 2.22%
LOOP: 1.30%
Motion: 0.00%
Global loops / second: 1825.14
High frequency loops / second: 2423.91
blade fps: 83.27
Acceleration measurements per second: 1651.58
Hybrid Font loop: 0.19%
WS2811_Blade loop: 49.71%
ClockControl loop: 0.70%
Booster loop: 0.55%
SDCard loop: 0.45%
Amplifier loop: 0.38%
LSM6DS3H loop: 0.34%
I2CBus loop: 0.20%
Parser loop: 0.31%
pow loop: 0.58%
SaberFett263Buttons loop: 2.57%
BatteryMonitor loop: 1.14%
Fusor loop: 0.34%
DAC loop: 0.07%
AudioDynamicMixer loop: 0.21%
MonitorHelper loop: 0.19%
Battery voltage: 4.00
Playing pain/hum/hum01.wav
channels: 1 rate: 44100 bits: 16
current: 536879528 id= 106 next= 0
last: 536879528 id= 106 next= 0
Motion requested: 1 (millis() - last_motion_request=22612)
unit = 0 vol = 0.50, Playing pain/in/in01.wav
channels: 1 rate: 44100 bits: 16
No sounds found: pstoff
Battery voltage: 4.01
Playing pain/hum/hum01.wav
channels: 1 rate: 44100 bits: 16
Battery voltage: 4.01
Battery voltage: 4.01
Playing pain/hum/hum01.wav
channels: 1 rate: 44100 bits: 16
Battery voltage: 4.01
Playing pain/hum/hum01.wav
channels: 1 rate: 44100 bits: 16
1 Button Support based on sa22c’s file has been added to my prop. I do have a few more small updates coming but for those waiting to try Edit Mode and the other new features on 1 button it’s now available.
Prop file info here (or read the top of the prop itself): Prop File info here: Fett263 ProffieOS6 Prop File (Buttons and Controls)
I’M THERE. just optimising my sdcard for real clash and then off to the races. Looking forward to testing this.
I might be closing in on the problem, I figured out why the printouts I was seeing didn’t make any sense, but I’m still not sure what’s causing your actual problem. However, I have added more information to the i2cstate
command that I hope will help. It’s unfortunate that this is taking so long, but hopefully we can get to the bottom of this soon.
Just grabbed the new fett263 prop for one button and I’m getting these errors.
from C:\Users\Synplicity\Desktop\Saber Fonts\Proffie Fonts\ProffieOS-6master\ProffieOS\ProffieOS.ino:554:
c:\users\synpli~1\appdata\local\temp\arduino_build_790261\sketch\props\saber_fett263_buttons.h: In member function 'virtual bool SaberFett263Buttons::Event2(BUTTON, EVENT, uint32_t)':
c:\users\synpli~1\appdata\local\temp\arduino_build_790261\sketch\props\saber_fett263_buttons.h:4117:13: error: 'DoIgnition' was not declared in this scope; did you mean 'DoMotion'?
4117 | DoIgnition();
| ^~~~~~~~~~
| DoMotion
c:\users\synpli~1\appdata\local\temp\arduino_build_790261\sketch\props\saber_fett263_buttons.h:4246:9: error: 'ToggleBattleMode' was not declared in this scope; did you mean 'ToggleCCMode'?
4246 | ToggleBattleMode();
| ^~~~~~~~~~~~~~~~
| ToggleCCMode
c:\users\synpli~1\appdata\local\temp\arduino_build_790261\sketch\props\saber_fett263_buttons.h:4272:9: error: 'ToggleBattleModeMultiBlast' was not declared in this scope
4272 | ToggleBattleModeMultiBlast();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
c:\users\synpli~1\appdata\local\temp\arduino_build_790261\sketch\props\saber_fett263_buttons.h:4307:11: error: 'ToggleMultiBlast' was not declared in this scope
4307 | ToggleMultiBlast();
| ^~~~~~~~~~~~~~~~
c:\users\synpli~1\appdata\local\temp\arduino_build_790261\sketch\props\saber_fett263_buttons.h:4863:11: error: 'DoAutoMultiBlast' was not declared in this scope
4863 | DoAutoMultiBlast();
| ^~~~~~~~~~~~~~~~
exit status 1
Error compiling for board Proffieboard V2.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Please post your config file.
can you share your configuration file?
#include "proffieboard_v2_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 1
#define VOLUME 2000
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 4.5
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define SAVE_STATE
#define IDLE_OFF_TIME 60 * 5 * 1000
// #define KEEP_SAVEFILES_WHEN_PROGRAMMING
#define DISABLE_DIAGNOSTIC_COMMANDS
//#define BC_SWING_ON
//#define BC_TWIST_OFF
#define FEMALE_TALKIE_VOICE
#endif
#ifdef CONFIG_PROP
#include "../props/saber_fett263_buttons.h"
#endif
#ifdef CONFIG_PRESETS
Preset presets[] = {
{ "Enggrip;common", "tracks/GESW.wav",
StylePtr<Layers<
Stripes<10000,-1700,RotateColorsX<Variation,Rgb<80,0,0>>,RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<128,0,0>>,RotateColorsX<Variation,Rgb<50,0,0>>,RotateColorsX<Variation,Red>>,
LockupTrL<Layers<
AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,
AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,
ResponsiveStabL<Orange>,
ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,
LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Rgb<255,200,0>,DarkOrange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
EffectSequence<EFFECT_POWERSAVE,AlphaL<Black,Int<8192>>,AlphaL<Black,Int<16384>>,AlphaL<Black,Int<24576>>,AlphaL<Black,Int<0>>>,
InOutTrL<TrWipe<300>,TrWipeIn<500>>,
TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,
TransitionEffectL<TrConcat<TrWaveX<BrownNoiseFlicker<White,Rgb<10,10,10>,200>,Int<1000>,Int<600>,Int<1000>,Int<32768>>,Black,TrDelay<100>>,EFFECT_PREON>>>(),
"secondsister"},
{ "RandM;common", "tracks/schwifty.wav",
StylePtr<Layers<
StripesX<Sin<Int<8>,Int<3000>,Int<6000>>,Scale<TwistAngle<4>,Int<-50>,Int<-100>>,StripesX<Sin<Int<3>,Int<1000>,Int<3000>>,Scale<TwistAngle<3>,Int<25>,Int<80>>,Pulsing<RotateColorsX<Variation,Rgb<50,255,50>>,RotateColorsX<Variation,Rgb<0,200,0>>,3000>,Mix<Sin<Int<4>>,RotateColorsX<Variation,Rgb<0,10,0>>,RotateColorsX<Variation,Rgb<0,10,0>>>>,RotateColorsX<Variation,Black>,Pulsing<RotateColorsX<Variation,Black>,StripesX<Sin<Int<2>,Int<2000>,Int<4000>>,Sin<Int<2>,Int<25>,Int<75>>,Mix<Sin<Int<7>>,RotateColorsX<Variation,Green>,RotateColorsX<Variation,Rgb<50,255,50>>>,RotateColorsX<Variation,Rgb<0,96,0>>>,2000>,Pulsing<RotateColorsX<Variation,Rgb<0,128,0>>,RotateColorsX<Variation,Black>,3000>>,
AlphaL<StripesX<Sin<Int<8>,Int<3000>,Int<6000>>,Scale<TwistAngle<>,Int<60>,Int<140>>,StripesX<Sin<Int<6>,Int<1000>,Int<3000>>,Scale<TwistAngle<>,Int<-25>,Int<-80>>,Pulsing<Mix<Sin<Int<4>>,RotateColorsX<Variation,Green>,RotateColorsX<Variation,Rgb<50,255,50>>>,RotateColorsX<Variation,Rgb<34,139,34>>,4000>,Mix<Sin<Int<2>>,RotateColorsX<Variation,Rgb<50,255,50>>,Black>>,RotateColorsX<Variation,Rgb<0,60,0>>,Pulsing<RotateColorsX<Variation,Rgb<0,50,0>>,StripesX<Sin<Int<2>,Int<2000>,Int<4000>>,Sin<Int<2>,Int<-25>,Int<-75>>,Mix<Sin<Int<4>>,RotateColorsX<Variation,Green>,RotateColorsX<Variation,Rgb<50,255,50>>>,RotateColorsX<Variation,Rgb<0,96,0>>>,2000>,Pulsing<RotateColorsX<Variation,Rgb<34,139,34>>,RotateColorsX<Variation,Rgb<0,50,0>>,3000>>,Int<10000>>,
LockupTrL<Layers<
AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,
AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,
ResponsiveStabL<Red>,
ResponsiveBlastL<DodgerBlue,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,
LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
EffectSequence<EFFECT_POWERSAVE,AlphaL<Black,Int<8192>>,AlphaL<Black,Int<16384>>,AlphaL<Black,Int<24576>>,AlphaL<Black,Int<0>>>,
InOutTrL<TrJoinR<TrWipe<750>,TrWipeIn<750>>,TrJoin<TrWipe<1750>,TrWipeIn<1750>>>,
TransitionEffectL<TrConcat<TrJoinR<TrWipe<1000>,TrWipeIn<1000>>,Mix<SmoothStep<Int<16384>,Int<0>>,Stripes<2000,-1500,Black,Rgb<100,100,150>>,Stripes<2000,1500,Black,Rgb<100,100,150>>>,TrFade<750>,Mix<SmoothStep<Int<16384>,Int<0>>,Stripes<1000,-500,Black,Rgb<50,100,50>,Black>,Stripes<1000,500,Black,Rgb<50,100,50>,Black>>,TrFade<750>>,EFFECT_RETRACTION>,
/// TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<Green>,TrFade<500>>,EFFECT_IGNITION>,
TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,
AlphaL<TransitionEffectL<TrConcat<TrInstant,Layers<
AlphaL<RotateColorsX<Variation,Stripes<50,0,Red,Black>>,Bump<Int<16384>,SmoothStep<Sin<Int<70>,Int<60000>>,Sin<Int<10>,Int<10000>>>>>,
AlphaL<RotateColorsX<Variation,Stripes<200,0,Red,Red>>,Bump<Int<16384>,SmoothStep<Sin<Int<50>,Int<15000>>,Sin<Int<10>,Int<15000>>>>>,
AlphaL<RotateColorsX<Variation,Stripes<500,0,Red,Black>>,Bump<Int<16384>,SmoothStep<Sin<Int<10>>,Sin<Int<7>>>>>,
AlphaL<AudioFlickerL<Red>,Bump<Int<16384>,SlowNoise<Int<500>>>>>,TrDelay<5000>>,EFFECT_PREON>,Ifon<Int<0>,Int<32768>>>>>(),
"LavaPortal"},
{ "Yew;common", "tracks/bmtheme.wav",
//main blade
StylePtr<Layers<Pulsing<Stripes<3000,-3000,RotateColorsX<Variation,Rgb<180,130,0>>,RotateColorsX<Variation,Rgb<50,40,0>>,RotateColorsX<Variation,Rgb<220,160,40>>,RotateColorsX<Variation,Rgb<90,65,0>>>,Stripes<3000,3000,RotateColorsX<Variation,Rgb<180,130,0>>,RotateColorsX<Variation,Rgb<50,40,0>>,RotateColorsX<Variation,Rgb<220,160,40>>,RotateColorsX<Variation,Rgb<90,65,0>>>,3000>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,ResponsiveStabL<Red,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,EffectSequence<EFFECT_POWERSAVE,AlphaL<Black,Int<8192>>,AlphaL<Black,Int<16384>>,AlphaL<Black,Int<24576>>,AlphaL<Black,Int<0>>>,InOutTrL<TrWipe<300>,TrWipeIn<500>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>>>(),"goldenergysaw"},
{ "Volatile;common" , "tracks/bmtheme.wav",
//main blade
StylePtr<Layers<
Layers<
RandomFlicker<Rgb<75,75,120>,Rgb<37,37,60>>,
EffectSequence<EFFECT_CLASH,AlphaL<Rgb<65,0,210>,SmoothStep<Int<4000>,Int<-4000>>>,AlphaL<Stripes<1000,-2000,Rgb<14,150,50>,Rgb<65,0,210>,Rgb<42,0,135>>,SmoothStep<Int<8000>,Int<-20000>>>,AlphaL<Stripes<1000,-3000,Rgb<14,150,50>,Rgb<65,0,210>,Rgb<42,0,135>>,SmoothStep<Int<12000>,Int<-20000>>>,AlphaL<Stripes<2000,-3000,Rgb<14,150,50>,Rgb<65,0,210>,Rgb<42,0,135>>,SmoothStep<Int<18000>,Int<-24000>>>,TransitionEffectL<TrConcat<TrInstant,Stripes<2000,-4000,Rgb<14,150,50>,Rgb<95,150,25>,Rgb<42,0,135>>,TrDelay<5000>,Stripes<2000,-4000,Rgb<140,0,150>,Rgb<95,0,255>,Rgb<42,0,135>>,TrFade<1000>>,EFFECT_CLASH>>,
MultiTransitionEffectL<TrWaveX<Rgb<95,0,255>,Int<400>,Int<100>,Int<300>,Scale<BladeAngle<>,Int<2600>,Int<10000>>>,EFFECT_CLASH>>,
LockupTrL<Layers<
AlphaL<AudioFlickerL<Azure>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,
AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,
ResponsiveStabL<Red>,
ResponsiveBlastL<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_BLAST>,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,
LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
EffectSequence<EFFECT_POWERSAVE,AlphaL<Black,Int<8192>>,AlphaL<Black,Int<16384>>,AlphaL<Black,Int<24576>>,AlphaL<Black,Int<0>>>,
BlastFadeoutL<Rgb<45,0,210>,200,EFFECT_CLASH>,
InOutTrL<TrWipe<300>,TrWipeIn<500>>,
TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,
TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<Trigger<EFFECT_PREON,Int<3000>,Int<2000>,Int<1000>>,BrownNoiseFlicker<Black,RotateColorsX<Variation,Rgb<100,10,150>>,100>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<10,100,15>>,Rgb<50,50,50>>,BrownNoiseFlicker<Mix<NoisySoundLevel,RotateColorsX<Variation,Rgb<110,10,115>>,RotateColorsX<Int<4000>,RotateColorsX<Variation,Rgb<10,100,50>>>>,White,50>>,SmoothStep<Scale<NoisySoundLevel,Int<-10000>,Int<36000>>,Int<-4000>>>,TrDelay<6000>>,EFFECT_PREON>>>(), "greenpanther"},
{ "Battle1;common" , "tracks/RMtheme.wav",
//main blade
StylePtr<Layers<Mix<SwingSpeed<100>,AudioFlicker<RotateColorsX<Variation,Green>,RotateColorsX<Variation,Rgb<0,128,0>>>,StyleFire<BrownNoiseFlicker<RotateColorsX<Variation,Green>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<0,25,0>>,RotateColorsX<Variation,Rgb<0,60,0>>>,300>,RotateColorsX<Variation,Rgb<0,80,0>>,0,6,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>,FireConfig<10,1000,2>>>,EffectSequence<EFFECT_POWERSAVE,AlphaL<Black,Int<8192>>,AlphaL<Black,Int<16384>>,AlphaL<Black,Int<24576>>,AlphaL<Black,Int<0>>>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,ResponsiveStabL<Red,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<300>,TrWipeIn<500>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>>>(),
"greenkestis"},
{ "Speeder;common", "tracks/speeder2.wav",
//main blade
StylePtr<Layers<
Layers<
AudioFlicker<RotateColorsX<Variation,Rgb<30,0,90>>,RotateColorsX<Variation,Rgb<50,0,150>>>,
TransitionLoopL<TrWaveX<HumpFlickerL<RotateColorsX<Variation,Rgb<145,0,255>>,40>,Int<250>,Int<100>,Int<200>,Int<0>>>,
TransitionLoopL<TrWaveX<HumpFlickerL<RotateColorsX<Variation,Rgb<95,0,210>>,40>,Int<350>,Int<100>,Int<300>,Int<0>>>>,
LockupTrL<Layers<
AlphaL<AudioFlickerL<Azure>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,
AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,
ResponsiveStabL<Red>,
ResponsiveBlastL<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_BLAST>,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,
LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
EffectSequence<EFFECT_POWERSAVE,AlphaL<Black,Int<8192>>,AlphaL<Black,Int<16384>>,AlphaL<Black,Int<24576>>,AlphaL<Black,Int<0>>>,
InOutTrL<TrWipe<300>,TrWipeIn<500>>,
TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,
TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<Trigger<EFFECT_PREON,Int<3000>,Int<2000>,Int<1000>>,BrownNoiseFlicker<Black,RotateColorsX<Variation,Rgb<100,10,150>>,100>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<100,75,150>>,Rgb<50,50,50>>,BrownNoiseFlicker<Mix<NoisySoundLevel,RotateColorsX<Variation,Rgb<110,10,115>>,RotateColorsX<Int<4000>,RotateColorsX<Variation,Rgb<100,10,150>>>>,White,50>>,SmoothStep<Scale<NoisySoundLevel,Int<-10000>,Int<36000>>,Int<-4000>>>,TrDelay<6000>>,EFFECT_PREON>>>(),
"cyankestis"},
{ "DMC;common", "tracks/dmc.wav",
StylePtr<Layers<
Mix<SmoothStep<Scale<BladeAngle<0,20000>,Int<10000>,Int<38000>>,Int<20000>>,TransitionEffect<Mix<Scale<BladeAngle<>,Int<32768>,Int<0>>,StyleFire<Gradient<RotateColorsX<Variation,Orange>,RotateColorsX<Variation,OrangeRed>,RotateColorsX<Variation,Red>>,RotateColorsX<Variation,Rgb<60,0,0>>,0,4,FireConfig<0,1500,5>,FireConfig<0,1500,5>,FireConfig<0,1500,5>,FireConfig<0,0,0>>,StyleFire<Gradient<RotateColorsX<Variation,DarkOrange>,RotateColorsX<Variation,Red>,RotateColorsX<Variation,Red>,RotateColorsX<Variation,Red>>,Black,0,2,FireConfig<0,1600,30>,FireConfig<0,1600,30>,FireConfig<0,1600,30>,FireConfig<0,0,0>>>,HumpFlickerL<White,40>,TrInstant,TrFade<800>,EFFECT_LOCKUP_END>,Black>,
LockupTrL<AlphaL<Strobe<White,BrownNoiseFlicker<White,Red,300>,50,1>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<4000>>,Int<10000>>>,TrConcat<TrInstant,White,TrFade<200>>,TrFade<400>,SaberBase::LOCKUP_NORMAL>,
LockupTrL<AlphaL<HumpFlickerL<White,50>,Bump<Int<0>,Int<8000>>>,TrInstant,TrFade<400>,SaberBase::LOCKUP_DRAG>,
TransitionEffectL<TrConcat<TrInstant,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<4000>>,Int<10000>>>,TrFade<200>>,EFFECT_CLASH>,
TransitionEffectL<TrConcat<TrInstant,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<8000>,Int<28000>>,Int<8000>>,Int<10000>>>,TrFade<200>>,EFFECT_BLAST>,
Mix<IsLessThan<BladeAngle<>,Int<12000>>,ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,AlphaL<White,Int<0>>>,
ResponsiveMeltL<Mix<TwistAngle<>,OrangeRed,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,
TransitionEffectL<TrConcat<TrFade<500>,AlphaL<Mix<BatteryLevel,Red,Orange,Green,Green>,Bump<BatteryLevel,Int<10000>>>,TrDelay<2000>>,EFFECT_BATTERY_LEVEL>,
EffectSequence<EFFECT_POWERSAVE,AlphaL<Black,Int<8192>>,AlphaL<Black,Int<16384>>,AlphaL<Black,Int<24576>>,AlphaL<Black,Int<0>>>>>(),
"redfire"},
{ "Rogue Vader;common", "tracks/schwifty.wav",
StylePtr<Layers<
AudioFlicker<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<128,0,0>>>,
LockupTrL<Layers<
AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,
AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,
ResponsiveStabL<Orange>,
ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,
LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Rgb<255,200,0>,DarkOrange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
InOutTrL<TrWipe<750>,TrWipeIn<500>>,
EffectSequence<EFFECT_POWERSAVE,AlphaL<Black,Int<8192>>,AlphaL<Black,Int<16384>>,AlphaL<Black,Int<24576>>,AlphaL<Black,Int<0>>>,
TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<BatteryLevel,Int<10000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>>>()
}
};
BladeConfig blades[] = {
{ 0, WS281XBladePtr<129, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
CONFIGARRAY(presets) },
};
#endif
#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
#endif
I need to fix a define, will get it submitted.
If you put in #define FETT263_DUAL_MODE_SOUND it will fix compile error for now, new functions got added in the #ifdef accidentally, will be fixed when update gets merged.
Fix added, new version available on github.