Advertisement
Guest User

Saber Twist 2

a guest
Feb 5th, 2022
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.14 KB | None | 0 0
  1. < SERIAL MONITOR OUTPUT >
  2. Style RAM = 8
  3. Style RAM = 144
  4. Scanning sound font: Fire done
  5. Scanning sound font: common done
  6. Activating polyphonic font.
  7. Activating SmoothSwing V2
  8. Accent Swings Enabled.
  9. Polyphonic swings: 8
  10. Monophonic swings: 0
  11. Accent Slashes NOT Detected:
  12. unit Welcome to ProffieOS v6.5. Type 'help' for more info.
  13. Battery voltage: 1.59
  14. TWIST
  15. EVENT: Twist millis=51398
  16. Ignition.
  17. unit = 0 vol = 0.00, Playing Fire/hum.wav
  18. channels: 1 rate: 44100 bits: 16
  19. unit = 1 vol = 0.50, Playing Fire/out.wav
  20. channels: 1 rate: 44100 bits: 16
  21. humstart: 1800
  22. unit = 2 vol = 0.00, Playing Fire/swingl/swingl02.wav
  23. channels: 1 rate: 44100 bits: 16
  24. unit = 3 vol = 0.00, Playing Fire/swingh/swingh02.wav
  25. channels: 1 rate: 44100 bits: 16
  26. Playing Fire/swingh/swingh02.wav
  27. channels: 1 rate: 44100 bits: 16
  28. unit = 3 vol = 0.00, Playing Fire/swingl/swingl04.wav
  29. channels: 1 rate: 44100 bits: 16
  30. unit = 2 vol = 0.00, Playing Fire/swingh/swingh04.wav
  31. channels: 1 rate: 44100 bits: 16
  32. TWIST
  33. EVENT: Twist ON millis=54661
  34. unit = 1 vol = 0.50, Playing Fire/in.wav
  35. channels: 1 rate: 44100 bits: 16
  36. No sounds found: pstoff
  37. Unmounting SD Card.
  38. Amplifier off.
  39. TWIST
  40. EVENT: Twist millis=58556
  41. Ignition.
  42. unit = 0 vol = 0.00, Playing Fire/hum.wav
  43. channels: 1 rate: 44100 bits: 16
  44. unit = 1 vol = 0.50, Playing Fire/out.wav
  45. channels: 1 rate: 44100 bits: 16
  46. humstart: 1800
  47. unit = 2 vol = 0.00, Playing Fire/swingl/swingl05.wav
  48. channels: 1 rate: 44100 bits: 16
  49. unit = 3 vol = 0.00, Playing Fire/swingh/swingh05.wav
  50. channels: 1 rate: 44100 bits: 16
  51. Battery voltage: 0.94
  52. Playing Fire/swingh/swingh05.wav
  53. channels: 1 rate: 44100 bits: 16
  54. unit = 3 vol = 0.00, Playing Fire/swingl/swingl03.wav
  55. channels: 1 rate: 44100 bits: 16
  56. unit = 2 vol = 0.00, Playing Fire/swingh/swingh03.wav
  57. channels: 1 rate: 44100 bits: 16
  58. TWIST
  59. EVENT: Twist ON millis=64320
  60. unit = 1 vol = 0.50, Playing Fire/in.wav
  61. channels: 1 rate: 44100 bits: 16
  62. No sounds found: pstoff
  63. Unmounting SD Card.
  64. Amplifier off.
  65. TWIST
  66. EVENT: Twist millis=67153
  67. Ignition.
  68. unit = 0 vol = 0.00, Playing Fire/hum.wav
  69. channels: 1 rate: 44100 bits: 16
  70. unit = 1 vol = 0.50, Playing Fire/out.wav
  71. channels: 1 rate: 44100 bits: 16
  72. humstart: 1800
  73. unit = 3 vol = 0.00, Playing Fire/swingl/swingl04.wav
  74. channels: 1 rate: 44100 bits: 16
  75. unit = 2 vol = 0.00, Playing Fire/swingh/swingh04.wav
  76. channels: 1 rate: 44100 bits: 16
  77. TWIST
  78. EVENT: Twist ON millis=67754
  79. unit = 4 vol = 0.50, Playing Fire/in.wav
  80. channels: 1 rate: 44100 bits: 16
  81. TWIST
  82. EVENT: Twist millis=68391
  83. Ignition.
  84. unit = 0 vol = 0.00, Playing Fire/hum.wav
  85. channels: 1 rate: 44100 bits: 16
  86. unit = 5 vol = 0.50, Playing Fire/out.wav
  87. channels: 1 rate: 44100 bits: 16
  88. humstart: 1800
  89. unit = 2 vol = 0.00, Playing Fire/swingl/swingl04.wav
  90. channels: 1 rate: 44100 bits: 16
  91. unit = 3 vol = 0.00, Playing Fire/swingh/swingh04.wav
  92. channels: 1 rate: 44100 bits: 16
  93. No sounds found: pstoff
  94. TWIST
  95. EVENT: Twist ON millis=68763
  96. unit = 4 vol = 0.50, Playing Fire/in.wav
  97. channels: 1 rate: 44100 bits: 16
  98. TWIST
  99. EVENT: Twist millis=69018
  100. Ignition.
  101. unit = 0 vol = 0.00, Playing Fire/hum.wav
  102. channels: 1 rate: 44100 bits: 16
  103. unit = 1 vol = 0.50, Playing Fire/out.wav
  104. channels: 1 rate: 44100 bits: 16
  105. humstart: 1800
  106. TWIST
  107. EVENT: Twist ON millis=69310
  108. unit = 6 vol = 0.50, Playing Fire/in.wav
  109. channels: 1 rate: 44100 bits: 16
  110. No sounds found: pstoff
  111. TWIST
  112. EVENT: Twist millis=69611
  113. Ignition.
  114. unit = 0 vol = 0.00, Playing Fire/hum.wav
  115. channels: 1 rate: 44100 bits: 16
  116. unit = 4 vol = 0.50, Playing Fire/out.wav
  117. channels: 1 rate: 44100 bits: 16
  118. humstart: 1800
  119. unit = 3 vol = 0.00, Playing Fire/swingl/swingl02.wav
  120. channels: 1 rate: 44100 bits: 16
  121. unit = 2 vol = 0.00, Playing Fire/swingh/swingh02.wav
  122. channels: 1 rate: 44100 bits: 16
  123. TWIST
  124. EVENT: Twist ON millis=69989
  125. No sounds found: pstoff
  126. TWIST
  127. EVENT: Twist millis=70206
  128. Ignition.
  129. unit = 0 vol = 0.00, Playing Fire/hum.wav
  130. channels: 1 rate: 44100 bits: 16
  131. unit = 5 vol = 0.50, Playing Fire/out.wav
  132. channels: 1 rate: 44100 bits: 16
  133. humstart: 1800
  134. unit = 3 vol = 0.00, Playing Fire/swingl/swingl03.wav
  135. channels: 1 rate: 44100 bits: 16
  136. unit = 2 vol = 0.00, Playing Fire/swingh/swingh03.wav
  137. channels: 1 rate: 44100 bits: 16
  138. TWIST
  139. EVENT: Twist ON millis=70769
  140. unit = 1 vol = 0.50, Playing Fire/in.wav
  141. channels: 1 rate: 44100 bits: 16
  142. No sounds found: pstoff
  143. Unmounting SD Card.
  144. Amplifier off.
  145. Battery voltage: 0.93
  146. Booster off.
  147.  
  148. ===============================================================
  149.  
  150. < CONFIG FILE >
  151. #ifdef CONFIG_TOP
  152. #include "proffieboard_v2_config.h"
  153. #define NUM_BLADES 2 // Main neopixel + NPXL Connector
  154. #define NUM_BUTTONS 2
  155. #define VOLUME 800 // Volume level (0-3000) Don't go above 2000
  156. const unsigned int maxLedsPerStrip = 144;
  157. #define CLASH_THRESHOLD_G 5.0 // Clash sensitivity (lower = more sensitive, higher = less)
  158. #define ENABLE_AUDIO
  159. #define ENABLE_MOTION
  160. #define ENABLE_WS2811
  161. #define ENABLE_SD
  162. #define SAVE_STATE
  163. #define SHARED_POWER_PINS // For NPXL sharing power pins with the main blade
  164. #define BLADE_DETECT_PIN blade3Pin // Sets that the blade3Pin is connected to the "BD" pad of the NPXL Connector
  165. #define ENABLE_POWER_FOR_ID PowerPINS<bladePowerPin2,bladePowerPin5> // Allows "BladeID" to work
  166. #define IDLE_OFF_TIME 60 * 10 * 1000 // Specifies timeout for LEDs including accents in milliseconds (equates to 10min)
  167. // #define DISABLE_DIAGNOSTIC_COMMANDS
  168. #define FETT263_MAX_CLASH 16
  169. #define FETT263_SAY_BATTERY_PERCENT
  170. #define FETT263_SAY_COLOR_LIST
  171. #define FETT263_CLASH_STRENGTH_SOUND
  172. // Enables selection of clash, stab and lockup sounds based on clash strength
  173. // Light clash = 01.wav, Hard clash = highest number.wav
  174. #define FETT263_SAY_COLOR_LIST_CC
  175. // Spoken Color Names replace default sounds during Color Change "CC" Color List Mode (requires .wav files)
  176. #define FETT263_SAY_BATTERY_PERCENT
  177. // Spoken Battery Level as percent during On Demand Battery Level effect (requires .wav files)
  178. #define FETT263_SWING_ON
  179. // To enable Swing On Ignition control (automatically enters Battle Mode, uses Fast On)
  180. #define FETT263_SWING_ON_NO_BM
  181. // To enable Swing On Ignition control but not activate Battle Mode
  182. // (Combine with FETT263_SWING_ON or FETT263_SWING_ON_PREON, cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON or FETT263_BATTLE_MODE_START_ON)
  183. #define FETT263_SWING_ON_SPEED 250
  184. // Adjust Swing Speed required for Ignition 250 ~ 500 recommended
  185. #define FETT263_TWIST_OFF
  186. // To enable Twist Off Retraction control
  187. #define FETT263_TWIST_ON
  188. // To enable Twist On Ignition control (automatically enters Battle Mode, uses Fast On)
  189. #define FETT263_TWIST_ON_NO_BM
  190. // To enable Twist On Ignition control but not activate Battle Mode
  191. // (Combine with FETT263_TWIST_ON or FETT263_TWIST_ON_PREON, cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON or FETT263_BATTLE_MODE_START_ON)
  192. #define MOTION_TIMEOUT 60 * 15 * 1000
  193. // This extends the motion timeout to 15 minutes to allow gesture ignition to remain active; Increase/decrease the "15" value as needed
  194. #define FETT263_MOTION_WAKE_POWER_BUTTON
  195. // Enables a click on POWER Button to Wake Up Gestures after MOTION_TIMEOUT without igniting blade.
  196. // Saber will play boot sound and gestures will be active.
  197.  
  198. #endif
  199.  
  200. #ifdef CONFIG_PROP
  201. // #include "../props/saber_sa22c_buttons.h"
  202. #include "../props/saber_fett263_buttons.h"
  203. #endif
  204.  
  205.  
  206. #ifdef CONFIG_PRESETS
  207.  
  208. Preset PresetNeoPixel[] = {
  209.  
  210. { "Analog;common",
  211. "tracks/GESW.wav",
  212. StylePtr<Layers<AudioFlicker<RotateColorsX<Variation,Green>,RotateColorsX<Variation,Rgb<0,128,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,TransitionEffect<Azure,White,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<White,Azure,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,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<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_CLASH>,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<600>>,TransitionEffectL<TrConcat<TrBoing<230,5>,AlphaL<BrownNoiseFlickerL<RotateColorsX<Variation,Green>,Int<100>>,Bump<Int<0>,Int<4000>>>,TrBoing<230,3>,Black,TrBoing<110,3>,AlphaL<BrownNoiseFlickerL<RotateColorsX<Variation,Green>,Int<200>>,Bump<Int<0>,Int<6000>>>,TrBoing<40,3>>,EFFECT_PREON>>>(),
  213. StylePtr<Black>(),
  214. "Analog"},
  215.  
  216. { "AniHero;common",
  217. "AniHero/tracks/Order66.wav",
  218. StylePtr<Layers<AudioFlicker<RotateColorsX<Variation,Blue>,RotateColorsX<Variation,Rgb<0,0,128>>>,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,TransitionEffect<Azure,White,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<White,Azure,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,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<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_BLAST>,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,ResponsiveClashL<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_CLASH>,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<500>,TrWipeIn<600>,Black>>>(),
  219. StylePtr<Black>(),
  220. "The Chosen One - Hero"},
  221.  
  222. { "AniVill;common",
  223. "AniHero/tracks/Battle of the Heroes.wav",
  224. StylePtr<Layers<RandomFlicker<RotateColorsX<Variation,Blue>,RotateColorsX<Variation,Rgb<0,0,128>>>,AlphaL<RotateColorsX<Variation,Blue>,Scale<IsLessThan<SwingSpeed<600>,Int<13600>>,Scale<SwingSpeed<600>,Int<-19300>,Int<32768>>,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,TransitionEffect<Azure,White,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<White,Azure,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,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<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_BLAST>,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,ResponsiveClashL<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_CLASH>,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<600>,TrWipeIn<550>,Black>>>(),
  225. StylePtr<Black>(),
  226. "The Chosen One - Villain"},
  227.  
  228. { "Ascend;common",
  229. "tracks/Ascension.wav",
  230. StylePtr<Layers<Stripes<16000,-1000,RotateColorsX<Variation,Blue>,Pulsing<RotateColorsX<Variation,Rgb<0,0,90>>,RotateColorsX<Variation,Blue>,800>,RotateColorsX<Variation,Blue>>,TransitionEffectL<TrConcat<TrFade<600>,RandomFlicker<RotateColorsX<Variation,Blue>,RotateColorsX<Variation,Rgb<0,0,160>>>,TrDelay<30000>,RotateColorsX<Variation,Blue>,TrFade<800>>,EFFECT_FORCE>,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,TransitionEffect<Azure,White,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<White,Azure,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,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<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_BLAST>,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,ResponsiveClashL<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_CLASH>,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<TrWipeSparkTip<White,250>,TrWipeIn<850>,Black>>>(),
  231. StylePtr<Black>(),
  232. "Ascension"},
  233.  
  234. { "Assassin;common",
  235. "tracks/DarkSide_Mix_bySamuelKim.wav",
  236. StylePtr<Layers<RandomFlicker<RotateColorsX<Variation,Rgb<100,100,150>>,RotateColorsX<Variation,Rgb<50,50,75>>>,AlphaL<AlphaL<RotateColorsX<Variation,Rgb<100,100,150>>,Scale<IsLessThan<SwingSpeed<600>,Int<13600>>,Scale<SwingSpeed<600>,Int<-19300>,Int<32768>>,Int<0>>>,SmoothStep<Int<16000>,Int<16000>>>,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,TransitionEffect<Azure,White,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<White,Azure,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,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<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_BLAST>,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,ResponsiveClashL<TransitionEffect<Azure,White,TrInstant,TrFade<100>,EFFECT_CLASH>,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<TrWipeSparkTip<White,150>,TrWipeInSparkTip<White,600>,Black>>>(),
  237. StylePtr<Black>(),
  238. "Assassin"},
  239.  
  240. { "XMasBell;common",
  241. "tracks/venus.wav",
  242. StylePtr<Layers<StyleFire<StripesX<Int<3000>,Scale<SlowNoise<Int<2000>>,Int<-1000>,Int<-5000>>,BrownNoiseFlicker<RotateColorsX<Variation,Blue>,Black,100>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<0,0,60>>,RotateColorsX<Variation,Rgb<0,0,10>>>,RotateColorsX<Variation,Rgb<25,25,255>>,RotateColorsX<Variation,Rgb<0,0,128>>>,RotateColorsX<Variation,Rgb<0,0,80>>,0,5,FireConfig<3,3000,0>,FireConfig<3,3000,0>,FireConfig<3,3000,0>,FireConfig<3,3000,0>>,AlphaL<Stripes<2500,-3000,Red,Rgb<60,0,0>,Pulsing<Rgb<30,0,0>,Black,800>>,SwingSpeed<600>>,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,AlphaL<Mix<SmoothStep<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<1000>>,Stripes<1500,2000,White,Blue>,Stripes<1500,-2500,White,Blue>>,Int<18000>>,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<Yellow,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>,InOutTrL<TrWipeSparkTip<White,1200>,TrWipeInSparkTip<White,1063>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<White,Bump<Int<0>,Int<10000>>>,TrFade<3000>,AlphaL<Orange,Bump<Int<0>,Int<8000>>>,TrFade<3000>,AlphaL<Red,Bump<Int<0>,Int<6000>>>,TrFade<2000>>,EFFECT_RETRACTION>,TransitionEffectL<TrConcat<TrDelay<1500>,AlphaL<HumpFlickerL<RotateColorsX<Variation,Blue>,30>,Bump<Int<0>,Int<3000>>>,TrFade<500>,AlphaL<HumpFlickerL<RotateColorsX<Variation,Blue>,30>,Bump<Int<0>,Int<4000>>>,TrFade<1000>,AlphaL<HumpFlickerL<RotateColorsX<Variation,Blue>,30>,Bump<Int<0>,Int<5000>>>,TrBoing<1950,7>>,EFFECT_PREON>,TransitionEffectL<TrConcat<TrInstant,TransitionLoopL<TrWaveX<RotateColorsX<Variation,Blue>,Int<500>,Int<200>,Int<500>,Int<40>>>,TrDelay<1000>,TransitionLoopL<TrWaveX<RotateColorsX<Variation,Blue>,Int<300>,Int<300>,Int<300>,Int<40>>>,TrDelay<1300>,TransitionLoopL<TrWaveX<RotateColorsX<Variation,Blue>,Int<100>,Int<400>,Int<100>,Int<32768>>>,TrDelay<2000>,AlphaL<RotateColorsX<Variation,Blue>,Bump<Int<0>,Int<6000>>>,TrBoing<1450,5>>,EFFECT_PREON>>>(),
  243. StylePtr<Black>(),
  244. "Lightsaber of the Bells"}
  245.  
  246. };
  247.  
  248. // ===============================================================================================================================
  249.  
  250. Preset PresetNoBlade[] = {
  251.  
  252. { "Fire;common",
  253. "tracks/GESW.wav",
  254. StylePtr<BLACK>(),
  255. StyleRainbowPtr<300, 800>(),
  256. "Rainbow Fire"}
  257. };
  258.  
  259. // ===============================================================================================================================
  260.  
  261. BladeConfig blades[] = {
  262. { NO_BLADE, // No Blade attached; NPXL connector visibile
  263. WS281XBladePtr<122, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin5> >(),
  264. WS281XBladePtr<16, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin5> >(),
  265. CONFIGARRAY(PresetNoBlade) },
  266.  
  267. { 776, // Bendu Neopixel Blade
  268. WS281XBladePtr<122, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin5> >(),
  269. WS281XBladePtr<16, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin5> >(),
  270. CONFIGARRAY(PresetNeoPixel) },
  271.  
  272. };
  273. #endif
  274.  
  275. #ifdef CONFIG_BUTTONS
  276. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  277. Button AuxButton(BUTTON_AUX, auxPin, "aux");
  278. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement