Skip to content

Releases: Protonerd/FX-SaberOS

New soundfonts and soundfont fix

14 Apr 18:11
Compare
Choose a tag to compare

Several new free soundfonts have been added. Attributions are included in the individual soundfont files and all soundfonts have also been added to the DIYino Prime SDCard image and SoundFont.h configuration.

This release also contains a fix for addressing more than 255 files on an SD card, which is needed when loading 8 or more soundfonts. Previously this would lead to the wrong sound being played in certain cases (as the result of an integer overflow).

Be sure to also update your DFPlayer library when updating from an earlier version.

New features (smooth swing, tipmelt, swing color change, soundfont quickselect)

16 Feb 22:18
d275ead
Compare
Choose a tag to compare

The following new features have been added:

  • Basic smooth swing: uncomment SMOOTH_SWING in Config_SW.h to enable. When enabled, the hum sound will change in pitch and volume while moving the saber.
  • Tip melt (Pixel blade only) effect: uncomment TIP_MELT in Config_SW.h to enable. When enabled, a main button double click (in 2 button mode) or triple click (in single button mode) activates "Tip melt on clash". When active, the next clash (e.g. stabbing a wall or floor) will add a heat animation to the saber tip. Initially it will flash in the clash color, but over the next few seconds the tip color will gradually heat up and begin displaying a fire/melt effect.
  • Color change when swinging: uncomment SWING_COLORCHANGE in Config_SW.h to enable. When enabled, the blade color will slightly change while performing a swing. Some clash color is mixed into the main color during the swing.
  • Soundfont quickselect: tap the hilt while pressing the main button in idle mode to cycle through the different soundfonts.
  • Better support for clone DFPlayer modules: previous problems such as incorrect sound looping and certain sounds not playing may be resolved by uncommenting DFPLAYER_CLONE in Config_HW.h.

Notes:

  • Several libraries have been updated in this release (I2Cdev, MPU6050, OneButton, DFPlayer). If you're updating from a previous build, make sure to replace the old libraries with the new ones. In case of compilation errors when using Arduino IDE 2.x: close the IDE, clear the cache (on Windows by default under "C:\Users\<your_username>\AppData\Local\Temp") and relaunch.
  • If you run out of program space while compiling, you will need to be selective in which features to enable. Comment out any features (e.g. jukebox, deep sleep, battery check, swing quaternion, pixel accent, gravity color,...) you don't plan on using. Also, when not debugging, comment out LS_INFO to save program space.

Robust deep sleep mode and more vivid clash FX

01 Mar 21:14
89a1afb
Compare
Choose a tag to compare
Changes clash sensitivity and the way how the clash FX works

FX-SaberOS.ino:
- reworked clash, on clash, the state machine will change to clash mode and it will flicker for the duration of the clash FX parameter with the clash color
- reset deep sleep mode counter upon exiting config mode
- deleted swing detection conditional statements for BLADE_X and BLADE_Z (no one ever used them...)
- made exit from deep sleep mode more robust, removed delays, still suspect either a bus contention or WD, because in fact the controller wakes up but keeps hanging in an unknown state when the saber cannot be woken up.
- some compiler directive changes due to Stardust V3 board

Config_SW.h:
- increased nearly all supress and fx duration definitions
- increased CLASH_THRESHOLD from 10 to 15 as at 10 it was too sensitive to fast wrist movements with the new int based clash detection

Config_HW.h:
- now can choose between Stardust V3, Stardust V2 and Prime V1 (also for home brew) boards

Light.cpp:
- changes mainly to flicker due to new clash flicker
- compile directive changes due to the new board types

Soundfont.h:
- compile directive changes due to the new board types

Buttons.cpp:
- in single button mode a click will activate blaster-deflect-on-the-move
- if color profiles are used (i.e. not Gravity Color) exit from config mode in single button mode on long PRESS_ACTION

Deleted LICENSE and README.md files, obsolete

Re-added color profiles; MPU interrupt based clash triggering

02 Feb 21:46
abfe1a9
Compare
Choose a tag to compare
Re-include color profiles

now you can select two ways of how to change color of your saber: either the Gravity Color or Color Profiles to walk you through pre-set color settings.

Adafruit Pixie support

05 Jan 17:58
971a39a
Compare
Choose a tag to compare

4th blade type, can be activated by selecting:
#define ADF_PIXIE_BLADE

Important bug fixes

05 Nov 20:33
71becd2
Compare
Choose a tag to compare
Important bug fixes Pre-release
Pre-release

Solves some long runner bugs.

First official release of FX-SaberOS

03 Nov 12:19
Compare
Choose a tag to compare
V1

update readme with picture