LamaDiLuce / polaris-opencore

Open Source development for Polaris lightsaber electronic core, Anima EVO RGBW.
https://www.lamadiluce.it
GNU General Public License v3.0
17 stars 21 forks source link

[BUG] No swing sounds after update to 3.0.0 #71

Closed FranzDganz closed 1 year ago

FranzDganz commented 1 year ago

Describe the bug On a saber using normal swing sound effects, after the update to version 3.0.0 the saber plays no sound during swing movement.

To Reproduce Steps to reproduce the behavior:

  1. Saber with working normal swing sounds (no smoothswing files on memory either)
  2. Update to firmware version 3.0.0
  3. No more swing sounds coming from saber Pairing the swing sounds to swing movement using Gilthoniel doesn't fix the issue.

Expected behavior No changes to sound settings.

Desktop (please complete the following information): Tested upgrading from version 2.2.7 to version 3.0.0 on MacOS 13.2.

Additional context After few tests I solved the issue by using sendtosaber with -t option to re-pair the sound files.

On another saber with smoothswing sound effects and 2.2.7 firmware, the update had no issues and smoothswing kept working properly.

FarFlyer commented 1 year ago

Hello @FranzDganz , thanks for reporting. What is appended is that the new FW loads a new set of default values for led configuration (colors) and sounds. With Gilthoniel software the user shall re-select the proper sound files and re-set the colors (for the colors there is the possibility to export/import a configuration). Unfortunately, right now when something changes in the configuration file that the FW stores in the flash memory, the file is re-written with default values.