ProffieOS v6.8

Latest release is now ProffieOS v6.8.
It is exactly the same as ProffieOS v6.7, but has a bugfix in audio compression.

When combined with filters, this bug could make the sound cut out, and when not using filters, it could cause some audio distortion.

As usual, you can download it here:

https://fredrik.hubbe.net/lightsaber/proffieos.html

or from github:

1 Like

Has this bug only just been fixed in 7.x as well? Just wondering if I need to reload a couple of sabers I loaded up last week from GitHub.

That’s correct

Nice to see this update to OS6. Thanks!

It was fixed yesterday.
However, as is always a case, a bug that doesn’t affect you isn’t worth fixing.
So if you haven’t noticed a problem, maybe you don’t need to do anything?

1 Like

Please note that I had a broken 6.8 zip file uploaded to github. (fixed now)
If you downloaded 6.8 from github, and got a zip file which is 655649 bytes long, then you should re-download it.

Hey,

today i ran into a strange Issue.

  1. I`ve got a Soundfont with the soundmute-bug. (grayscale SPLINTER)
  2. I decided to update from 0S.6.7 to OS.6.8 with my same old config to solve it
  3. but after update SABER HAD SOUND BUT NO LIGHTS !

So something is wrong with the Defines in this Config i used until now
without Problems under OS.6.7


#ifdef CONFIG_TOP
#include "proffieboard_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 2
#define VOLUME 1000
const unsigned int maxLedsPerStrip = 129;
#define CLASH_THRESHOLD_G 4.0
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define SAVE_STATE
#define IDLE_OFF_TIME 60 * 5 * 1000
#define COLOR_CHANGE_DIRECT
#define FETT263_MULTI_PHASE
#define FETT263_EDIT_MODE_MENU
#define ENABLE_ALL_EDIT_OPTIONS
#define FETT263_DUAL_MODE_SOUND
#define FETT263_CLASH_STRENGTH_SOUND
//#define FETT263_SAY_BATTERY_VOLTS
#define FETT263_TWIST_OFF
#define FETT263_TWIST_ON
#define FETT263_TWIST_ON_NO_BM
#define FETT263_THRUST_ON
#define FETT263_SWING_ON
#define FETT263_SWING_ON_SPEED 400
#define FETT263_SAY_COLOR_LIST
#define FETT263_SAY_COLOR_LIST_CC
#define FEMALE_TALKIE_VOICE
#define FETT263_QUOTE_PLAYER_START_ON
#define FETT263_CLASH_STRENGTH_SOUND
#define FETT263_MAX_CLASH 16
#define FETT263_BM_CLASH_DETECT 7.5
#define FETT263_SAVE_GESTURE_OFF
#define FETT263_MOTION_WAKE_POWER_BUTTON
#define NO_REPEAT_RANDOM
#define DISABLE_DIAGNOSTIC_COMMANDS
#define DISABLE_BASIC_PARSER_STYLES
#define DYNAMIC_BLADE_DIMMING
#define DYNAMIC_BLADE_LENGTH
#define DYNAMIC_CLASH_THRESHOLD                                      
#define SHARED_POWER_PINS
#define INCLUDE_SSD1306
#define FETT263_SAY_BATTERY_PERCENT   
#define FILTER_CUTOFF_FREQUENCY 180                          
#endif



#ifdef CONFIG_PROP

#include "../props/saber_fett263_buttons.h"

#endif

  1. Now i use this in OS6.7 and lights are back:
#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 2
const unsigned int maxLedsPerStrip = 144;
#define VOLUME 1000
#define CLASH_THRESHOLD_G 3.0
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define MOTION_TIMEOUT 60 * 15 * 1000
#define IDLE_OFF_TIME 60 * 15 * 1000
#define DISABLE_BASIC_PARSER_STYLES
#define DISABLE_DIAGNOSTIC_COMMANDS
#define ENABLE_ALL_EDIT_OPTIONS
#define SAVE_PRESET
#define NO_REPEAT_RANDOM
#define COLOR_CHANGE_DIRECT
#define FETT263_EDIT_MODE_MENU
#define FETT263_MULTI_PHASE
#define FETT263_SAY_BATTERY_PERCENT
#define FETT263_QUOTE_PLAYER_START_ON
#define FETT263_LOCKUP_DELAY 200
#define FETT263_BM_CLASH_DETECT 6
#endif

#ifdef CONFIG_PROP
#include "../props/saber_fett263_buttons.h"
#endif


So the question is, which defines can cause the Odd-Behavior.

Until now i was happy with the first Config but can`t use it anymore.

Thank you in advance for any hint on this. :dotted_line_face:

There is no possible way for 6.7 and 6.8 to have different blade behaviors, because the blade code is identical.

Does it work better if you set this to 144? (Without seeing your blade config I can’t say what the minimum value you need is.)

1 Like

I’m spitballing here but what does the lower config look like? Post it so I can compare something really quick against what I use.

 
};
BladeConfig blades[] = {
{ 0,
WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
CONFIGARRAY(presets) },
};
#endif

here the lower part of the first config

};
BladeConfig blades[] = {
 { 0, WS281XBladePtr<133, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), CONFIGARRAY(presets) },
};
#endif

#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, auxPin, "aux");
Button AuxButton(BUTTON_AUX, powerButtonPin, "pow");
#endif


the bladestyle part is identical in both configs

I putted the same Number 129 into the bladeconfig section…

It was at 133 and this caused the failure.

THX

What does the other BladeConfig look like? It would be best to post both configs using pastebin.com (1 per) and specify which is which. This way we can actually see what’s different between them.

The top ‘144’ should only be changed if you have MORE than 144 pixels in serial on your saber (rare), you shouldn’t reduce this number. Your blade length is controlled in the BladeConfig section.

Change

const unsigned int maxLedsPerStrip = 129;

To

const unsigned int maxLedsPerStrip = 144;

If the change back to 144 doesn’t fix we need to see your original BladeConfig AND the one that doesn’t work.

Thank you - its solved.

It was the difference between const unsigend was 129
and in the blade config it was 133.

no idea why it just took effect with updating to OS 6.8 but now
its working again.

Thank @ll

It wasn’t the change in versions, in OS6.7 your config above correctly had :

However, in your OS6.8 config you changed to:

It wasn’t the OS, you made a change. I would put it back to:

const unsigned int maxLedsPerStrip = 144;

The only reason you would change this value is if you have MORE than 144 pixels in serial which is very rare. Leave this number at 144, the blade’s length is controlled in the bottom section, not the top.

1 Like

A post was split to a new topic: Font directory not found