Os6.6 false clashes and stab sound and effects

Yes that’s what I’m thinking maybe if there’s a way we can change it in the profiles back to the old OS

1 Like

Both profezzorn and I have tried to determine cause and fix for a while (including AUDIO_CLASH_SUPPRESSION_LEVEL, which seemed to fix the issue for a lot of users)
Other than those tests we haven’t really had any conclusive help on the matter if I’m being honest. Like I’ve said a bunch of times, I have OS6 running a dozen sabers and none of them exhibited any change in clash sensitivity, if anything I maybe had to increase CLASH_THRESHOLD_G by maybe 0.5 on a few of them. So am I unable to fix something that I can’t replicate. We’ve gone down this hole multiple times and either users magically have it fixed or they disappear or they aren’t actually helping determine cause and fix.
I have no problem trying to fix whatever is wrong but from my point of view it’s something specific to the sabers that are experiencing it so the owners of said sabers need to help and not disappear.
I understand some people want to also help but the suggestions of what to test I see them making aren’t really helping to determine the cause IMHO. Nothing personal but if you start with what you think the cause is you’ve already cut off potential leads to the truth.
If someone really wants to help narrow it down, please start a new thread, post your current config and an explanation of what you’re experiencing and we’ll give you some things to try out to start looking for the actual cause, but you’ll need to actually stick around and provide feedback as we try stuff or nothing’s really going to change.

All of that occurs AFTER the clash is detected but just remove FETT263_CLASH_STRENGTH_SOUND define and test.

@BK_Saber
I’d just remove or comment out the whole #ifdef CONFIG_PROP section in your OS6 config, sa22c’s prop is from OS5 but it shares portions of the Battle Mode code from my prop. If we want to start at ground zero to determine what may be causing just use default button control and test leaving EVERYTHING else the exact same in your config.

If that doesn’t produce false clashes then add my prop back but comment out ALL defines that start with FETT263_ and test, then report back and we’ll start looking deeper.

Roger Roger. Will do tonight and report back

New thread started here: OS 6.7 Delayed Clashes and Effects with Fett263 Prop File

ok, did a quick test with no fett or sa22c prop files. Heres the upper portion of my config:

#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 2
#define VOLUME 2700
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 3.5
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define IDLE_OFF_TIME 60*5*1000
#define MOTION_TIMEOUT 60 * 15 * 1000
#define DISABLE_DIAGNOSTIC_COMMANDS
#define ENABLE_SPINS
#define NO_REPEAT_RANDOM
#define FILTER_CUTOFF_FREQUENCY 50
#define FILTER_ORDER 8
//#define AUDIO_CLASH_SUPPRESSION_LEVEL 16
#endif

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

#ifdef CONFIG_PRESETS
Preset presets[] = {

Still getting false clashes when the saber ignites, blaster blocks, double-clashes , accent swings, etc. Oddly enough, with the clash threshold set to 3.5, it reacted like the good old days where it would trigger a hit/clash like back in the OS5 days, very responsive. But sadly the double/false clashes were every where.

Going to test with fetts prop file next

Tested the same settings as above, just un-commented the CONFIG_PROP section and added Fetts buttons.

Oddly enough, im now experiencing exactly as the poster (Venom) above is as well, where it will let you do a single clash, but not consecutively multiple clashes in a row. Its like you have the let the saber breath in between clashes in order to trigger them properly. Trying to do multiple clashes consecutively in a row, yields in the saber just ignoring you and you get no clashes at all…until you wait like 2 seconds, and then try again…but only allows you to do 1 clash and then waiting 2 seconds in between in order to get the next clash.

However the flash clashes were still apparent and there.

Moving on to sa22c’s prop for testing…

OK, so false clashes with or without my prop, correct?

so far, with no prop file and with yours (fett), false clashes were there. So I dont think this issue has to do with prop file buttons files. Its gotta be in the main code somewhere

Yes, this is known. prop base adds a 400ms delay on Clash Event, we’ll have a fix for testing when profezzorn is back from vacation. See here:

Thanks, was pretty sure it wasn’t prop related but good to have confirmation on a saber experiencing.

OK, let’s cut your VOLUME in half to 1350 and test with my prop leaving everything else as is.

cut the volume to 1350 and left in your prop file…no change. Still triggering false clashes on ignites, blaster blocks, etc

Its funny cause the sabers so quiet now, but the very first ignite of the test triggered a false clash, lol

Hmmm that’s very odd, leave volume at 1350 and comment this out and upload we may need.

\\#define DISABLE_DIAGNOSTIC_COMMANDS

Then hook up to Serial Monitor and keep battery power on and turn on saber, see if it does false clashes still, if so post the Serial Monitor output.

Not sure what you mean by this. You mean turn on serial monitor with the battery inserted in the hilt?

yes this way the saber is fully powered an not running on USB power

heres the monitor…false clashes galore. The only thing i did was ignite the saber, did a couple blaster bloacks, turned saber off. Ignite the saber…did a few blaster blocks…etc. All clashes recorded in the monitor were a result of false clashing

EVENT: Power-Pressed#1 millis=175727
EVENT: Power-Pressed millis=175727
EVENT: Power-Released#1 millis=175908
EVENT: Power-Released millis=175909
EVENT: Power-Shortclick#1 millis=175909
EVENT: Power-Shortclick millis=175909
Ignition.
unit = 0 vol = 0.50, Playing elite/preon/preon01.wav
channels: 1 rate: 44100 bits: 16
Playing elite/out/out01.wav
channels: 1 rate: 44100 bits: 16
unit = 1 vol = 0.00, Playing elite/hum/hum01.wav
channels: 1 rate: 44100 bits: 16
humstart: 800
unit = 2 vol = 0.00, Playing elite/swingl/swingl01.wav
channels: 1 rate: 44100 bits: 16
unit = 3 vol = 0.00, Playing elite/swingh/swingh01.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=176540
unit = 4 vol = 0.50, Playing elite/clsh/clsh05.wav
channels: 1 rate: 44100 bits: 16
Battery voltage: 3.40
EVENT: Aux-Pressed#1 ON millis=185449
EVENT: Aux-Pressed ON millis=185449
EVENT: Aux-Released#1 ON millis=185527
EVENT: Aux-Released ON millis=185527
EVENT: Aux-Shortclick#1 ON millis=185528
EVENT: Aux-Shortclick ON millis=185528
unit = 0 vol = 0.50, Playing elite/blst/blst02.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=185904
unit = 4 vol = 0.50, Playing elite/clsh/clsh08.wav
channels: 1 rate: 44100 bits: 16
EVENT: Aux-Pressed#1 ON millis=187547
EVENT: Aux-Pressed ON millis=187547
EVENT: Aux-Released#1 ON millis=187629
EVENT: Aux-Released ON millis=187629
EVENT: Aux-Shortclick#1 ON millis=187629
EVENT: Aux-Shortclick ON millis=187630
unit = 0 vol = 0.50, Playing elite/blst/blst08.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=187902
unit = 4 vol = 0.50, Playing elite/clsh/clsh01.wav
channels: 1 rate: 44100 bits: 16
EVENT: Aux-Pressed#1 ON millis=189564
EVENT: Aux-Pressed ON millis=189564
EVENT: Aux-Released#1 ON millis=189649
EVENT: Aux-Released ON millis=189649
EVENT: Aux-Shortclick#1 ON millis=189649
EVENT: Aux-Shortclick ON millis=189649
unit = 0 vol = 0.50, Playing elite/blst/blst04.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=190054
unit = 4 vol = 0.50, Playing elite/clsh/clsh09.wav
channels: 1 rate: 44100 bits: 16
EVENT: Aux-Pressed#1 ON millis=191214
EVENT: Aux-Pressed ON millis=191214
EVENT: Aux-Released#1 ON millis=191276
EVENT: Aux-Released ON millis=191278
EVENT: Aux-Shortclick#1 ON millis=191278
EVENT: Aux-Shortclick ON millis=191278
unit = 0 vol = 0.50, Playing elite/blst/blst03.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=191405
unit = 4 vol = 0.50, Playing elite/clsh/clsh02.wav
channels: 1 rate: 44100 bits: 16
Playing elite/swingl/swingl01.wav
channels: 1 rate: 44100 bits: 16
Playing elite/swingh/swingh01.wav
channels: 1 rate: 44100 bits: 16
EVENT: Aux-Pressed#1 ON millis=193562
EVENT: Aux-Pressed ON millis=193562
EVENT: Aux-Released#1 ON millis=193653
EVENT: Aux-Released ON millis=193653
EVENT: Aux-Shortclick#1 ON millis=193653
EVENT: Aux-Shortclick ON millis=193654
unit = 0 vol = 0.50, Playing elite/blst/blst01.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=193828
unit = 4 vol = 0.50, Playing elite/clsh/clsh10.wav
channels: 1 rate: 44100 bits: 16
EVENT: Power-Pressed#1 ON millis=196321
EVENT: Power-Pressed ON millis=196321
EVENT: Power-Released#1 ON millis=196400
EVENT: Power-Released ON millis=196400
EVENT: Power-Shortclick#1 ON millis=196400
unit = 0 vol = 0.50, Playing elite/in/in02.wav
channels: 1 rate: 44100 bits: 16
No sounds found: pstoff
Amplifier off.
EVENT: Power-Pressed#1 millis=198622
EVENT: Power-Pressed millis=198622
EVENT: Power-Released#1 millis=198702
EVENT: Power-Released millis=198703
EVENT: Power-Shortclick#1 millis=198703
EVENT: Power-Shortclick millis=198703
Ignition.
unit = 0 vol = 0.50, Playing elite/preon/preon01.wav
channels: 1 rate: 44100 bits: 16
Playing elite/out/out01.wav
channels: 1 rate: 44100 bits: 16
unit = 1 vol = 0.00, Playing elite/hum/hum01.wav
channels: 1 rate: 44100 bits: 16
humstart: 800
unit = 2 vol = 0.00, Playing elite/swingl/swingl03.wav
channels: 1 rate: 44100 bits: 16
unit = 3 vol = 0.00, Playing elite/swingh/swingh03.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=199163
unit = 4 vol = 0.50, Playing elite/clsh/clsh06.wav
channels: 1 rate: 44100 bits: 16
Battery voltage: 3.34
EVENT: Aux-Pressed#1 ON millis=202992
EVENT: Aux-Pressed ON millis=202992
EVENT: Aux-Released#1 ON millis=203059
EVENT: Aux-Released ON millis=203059
EVENT: Aux-Shortclick#1 ON millis=203059
EVENT: Aux-Shortclick ON millis=203059
unit = 0 vol = 0.50, Playing elite/blst/blst08.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=203317
unit = 4 vol = 0.50, Playing elite/clsh/clsh02.wav
channels: 1 rate: 44100 bits: 16
EVENT: Aux-Pressed#1 ON millis=204786
EVENT: Aux-Pressed ON millis=204786
EVENT: Aux-Released#1 ON millis=204844
EVENT: Aux-Released ON millis=204844
EVENT: Aux-Shortclick#1 ON millis=204844
EVENT: Aux-Shortclick ON millis=204846
unit = 0 vol = 0.50, Playing elite/blst/blst03.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=205209
unit = 4 vol = 0.50, Playing elite/clsh/clsh08.wav
channels: 1 rate: 44100 bits: 16
EVENT: Aux-Pressed#1 ON millis=206504
EVENT: Aux-Pressed ON millis=206504
EVENT: Aux-Released#1 ON millis=206527
EVENT: Aux-Released ON millis=206527
EVENT: Aux-Shortclick#1 ON millis=206527
EVENT: Aux-Shortclick ON millis=206527
unit = 0 vol = 0.50, Playing elite/blst/blst05.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash ON millis=206597
unit = 4 vol = 0.50, Playing elite/clsh/clsh10.wav
channels: 1 rate: 44100 bits: 16
EVENT: Power-Pressed#1 ON millis=208917
EVENT: Power-Pressed ON millis=208917
EVENT: Power-Released#1 ON millis=208948
EVENT: Power-Released ON millis=208948
EVENT: Power-Shortclick#1 ON millis=208948
unit = 0 vol = 0.50, Playing elite/in/in01.wav
channels: 1 rate: 44100 bits: 16
EVENT: Clash millis=209355
No sounds found: pstoff
Amplifier off.

OK, let’s rule out your SD, run ‘sdtest’ in Serial Monitor and post results.

SD card test results:

Playing common/clrlst/clrlst01.wav

Playing common/clrlst/clrlst02.wav
C
Playing common/clrlst/clrlst03.wav
C
Playing common/clrlst/clrlst04.wav
C
Playing common/clrlst/clrlst05.wav

Playing common/clrlst/clrlst06.wav

Playing common/clrlst/clrlst07.wav
C
Playing common/clrlst/clrlst08.wav

Playing common/clrlst/clrlst09.wav
C
Playing common/clrlst/clrlst10.wav
C
Playing common/clrlst/clrlst11.wav
C
Playing common/clrlst/clrlst12.wav
C
Playing common/clrlst/clrlst13.wav

Playing common/clrlst/clrlst14.wav
C
Playing common/clrlst/clrlst15.wav
C
Playing common/clrlst/clrlst16.wav

Playing common/clrlst/clrlst17.wav
C
Playing common/clrlst/clrlst18.wav
C
Playing common/clrlst/clrlst19.wav
C
Playing common/clrlst/clrlst20.wav
C
Playing common/clrlst/clrlst21.wav
C
Playing common/clrlst/clrlst22.wav
C
Playing common/clrlst/clrlst23.wav
C
Playing common/clrlst/clrlst24.wav
C
Playing common/clrlst/clrlst25.wav
C
Playing common/clrlst/clrlst26.wav
C
Playing common/clrlst/clrlst27.wav

Playing common/mnum/mnum1.wav

Playing common/mnum/mnum2.wav

Playing common/mnum/mnum3.wav

Playing common/mnum/mnum4.wav

Playing common/mnum/mnum5.wav

Playing common/mnum/mnum6.wav

Playing common/mnum/mnum7.wav

Playing common/mnum/mnum8.wav

Playing common/mnum/mnum9.wav

Playing common/mnum/mnum10.wav

Playing common/mnum/mnum11.wav

Playing common/mnum/mnum12.wav

Playing common/mnum/mnum13.wav
C
Playing common/mnum/mnum14.wav
C
Playing common/mnum/mnum15.wav
C
Playing common/mnum/mnum16.wav
C
Playing common/mnum/mnum17.wav
C
Playing common/mnum/mnum18.wav
C
Playing common/mnum/mnum19.wav
C
Playing common/mnum/mnum20.wav

Playing common/vmend.wav
CC
Playing common/vmbegin.wav
C
Playing elite/enddrag/enddrag01.wav
B
Playing elite/enddrag/enddrag02.wav
B
Playing elite/drag/drag01.wav
BBBBBBB
Playing elite/bgndrag/bgndrag01.wav
B
Playing elite/bgndrag/bgndrag02.wav
B
Playing elite/swingh/swingh01.wav
AAAAAAAAAAAAAAAAABABBBBBBBBB
Playing elite/swingh/swingh02.wav
ABAABABBBBBBBBABAABABBBBBBBB
Playing elite/swingh/swingh03.wav
AAAAAAAAAABAABABBBBBBBBBCCCC
Playing elite/swingh/swingh04.wav
AAAAAAAABABBBBBBBBBBBBBBBBBB
Playing elite/swingl/swingl01.wav
AAAAAAAAAAAAAAABAABABBBBBBBB
Playing elite/swingl/swingl02.wav
AAAAAAAAAAAAAABABBBBBBBBBBBB
Playing elite/swingl/swingl03.wav
ABABBBBBBBBBBBAAAABBBBBBBBBB
Playing elite/swingl/swingl04.wav
AAAAAAAAAAAAAAAAABABBBBBBBBB
Playing elite/swng/swng01.wav

Playing elite/swng/swng02.wav

Playing elite/swng/swng03.wav

Playing elite/swng/swng04.wav

Playing elite/swng/swng05.wav

Playing elite/swng/swng06.wav
B
Playing elite/swng/swng07.wav

Playing elite/swng/swng08.wav

Playing elite/swng/swng09.wav

Playing elite/swng/swng10.wav

Playing elite/swng/swng11.wav

Playing elite/swng/swng12.wav

Playing elite/swng/swng13.wav
B
Playing elite/swng/swng14.wav

Playing elite/swng/swng15.wav
B
Playing elite/swng/swng16.wav
B
Playing elite/swng/swng17.wav
B
Playing elite/swng/swng18.wav
B
Playing elite/lock/lock01.wav
BABBABBBBBBBBBBBBB
Playing elite/out/out01.wav
B
Playing elite/out/out02.wav
B
Playing elite/in/in01.wav
B
Playing elite/in/in02.wav
BB
Playing elite/clsh/clsh01.wav

Playing elite/clsh/clsh02.wav

Playing elite/clsh/clsh03.wav

Playing elite/clsh/clsh04.wav

Playing elite/clsh/clsh05.wav
B
Playing elite/clsh/clsh06.wav

Playing elite/clsh/clsh07.wav
B
Playing elite/clsh/clsh08.wav
B
Playing elite/clsh/clsh09.wav

Playing elite/clsh/clsh10.wav

Playing elite/blst/blst01.wav
B
Playing elite/blst/blst02.wav
B
Playing elite/blst/blst03.wav
B
Playing elite/blst/blst04.wav
B
Playing elite/blst/blst05.wav
B
Playing elite/blst/blst06.wav
B
Playing elite/blst/blst07.wav
B
Playing elite/blst/blst08.wav
B
Playing elite/endlock/endlock01.wav
B
Playing elite/endlock/endlock02.wav
B
Playing elite/bgnlock/bgnlock01.wav
B
Playing elite/bgnlock/bgnlock02.wav
B
Playing elite/bgnlock/bgnlock03.wav
B
Playing elite/font/font.wav
BBB
Playing elite/spin/spin01.wav
B
Playing elite/spin/spin02.wav
B
Playing elite/spin/spin03.wav
B
Playing elite/stab/stab01.wav

Playing elite/stab/stab02.wav

Playing elite/stab/stab03.wav

Playing elite/force/force01.wav
BB
Playing elite/force/force02.wav
BBB
Playing elite/force/force03.wav
BBBBB
Playing elite/hum/hum01.wav
AAAAAAAAAAAAAAAABAABBBBBBBBB
Playing elite/boot/boot.wav
BB
Playing elite/preon/preon01.wav

Time to open files: Average time: 3481.74 us
                                                                                                   .
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                                                                                   :
                                             .                                                     :
                                 .           :                                                     :
                                 ::          :                                                     :
                                 ::         ::.                                                    :
                                ::: ..      :::        :                                     .     :
x100us              1                   2                   3                   4                   5
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
Time to read blocks: Average speed: 1003.41 kb/s, 11.38 simultaneous audio streams.
                                                                                                    
          :                                                                                         
         .:                                                                                         
         ::                                                                                         
         ::                                                                                         
         ::                                                                                         
         ::                                                                                         
         ::                                                                                         
         ::                                                                                         
        :::.                                                                                        
        ::::..        ...                                                                           
x100us              1                   2                   3                   4                   5
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
Battery voltage: 0.10
Unmounting SD Card.

A little on the slow end but not terrible. I’d want closer to 1200 kbps.

Can you try a different font (maybe a quieter one), with volume still at 1350 and everything else the same?