# Testing Needed - AUDIO\_CLASH\_SUPPRESSION\_LEVEL

**URL:** <https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797>\
**Category:** ProffieOS\
**Created:** [May 4, 2022, 12:27pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797 "2022-05-04T12:27:10Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [May 6, 2022, 5:00pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/21 "2022-05-06T17:00:19Z")

</div>

If I understand the question correctly, You do not _need_ to adjust any of the values if they work well where they are.  
The 100 is the frequency at which it begins rolling off low end and the filter order is the slope (how steep of a cut-off).  
The filter order is probably fine as-is for any chosen frequency, however the frequency itself is up to you. 100 is generally a good point to leave it as well.

---

<div class="post-metadata">

**Author:** ![Mo\_Kb](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/mo_kb/32/2044_2.png) [@Mo\_Kb](https://crucible.hubbe.net/u/Mo_Kb)\
**Post date:** [May 6, 2022, 10:16pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/22 "2022-05-06T22:16:31Z")

</div>

I was getting a lot of false clash sounds with some loud sounds like force and quote so I had to raise the clash threshold to 3 and that solved the problem, but obviously had to strike the blade harder than I’m used to to elicit clash and lockup.  
After adding the define of audio suppression of 20, I was able to lower the clash threshold back to 2 and everything works perfectly for me with no false clashes at all! Thank you for this!

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 6, 2022, 10:38pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/23 "2022-05-06T22:38:44Z")

</div>

Good to hear

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [May 6, 2022, 10:42pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/24 "2022-05-06T22:42:19Z")

</div>

Glad it worked. 2 is pretty low, surprised that works for you.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [May 7, 2022, 8:57am UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/25 "2022-05-07T08:57:26Z")

</div>

> [@Fett263](#):
>
> I’ve never needed to use, maybe @profezzorn knows why.

Yeah, I don’t know what would cause that either.

---

<div class="post-metadata">

**Author:** ![MeatySmurf](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/meatysmurf/32/4810_2.png) [@MeatySmurf](https://crucible.hubbe.net/u/MeatySmurf)\
**Post date:** [May 7, 2022, 3:15pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/26 "2022-05-07T15:15:22Z")

</div>

I am trying to test a saber with this test OS, but getting an error (see below) when I go to verify. The config is the same I used with OS6.7. If I remove the prop line (Fett263) from my config, it verifies. Is this supposed to be tested without any props? Or am I just doing something wrong?

In file included from D:\Saberstuff\TEST OS\ProffieOS\ProffieOS.ino:584:  
D:\Saberstuff\TEST OS\ProffieOS\scripts\clash\_recorder.h: In member function ‘virtual void ClashRecorder::On()’:  
D:\Saberstuff\TEST OS\ProffieOS\scripts\clash\_recorder.h:48:5: error: ‘Saber’ has not been declared  
48 | Saber::On();  
| ^ ~~~~  
exit status 1  
Error compiling for board Proffieboard V2

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 7, 2022, 6:44pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/27 "2022-05-07T18:44:46Z")

</div>

Post your config, not sure why you’d get that error.

---

<div class="post-metadata">

**Author:** ![MeatySmurf](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/meatysmurf/32/4810_2.png) [@MeatySmurf](https://crucible.hubbe.net/u/MeatySmurf)\
**Post date:** [May 7, 2022, 7:39pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/28 "2022-05-07T19:39:09Z")

</div>

Here is my config.

> **[\#ifdef CONFIG\_TOP#include "proffieboard\_v2\_config.h"#define NUM\_BLADES 1#d -...](https://pastebin.com/itvVFyHE)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 7, 2022, 8:29pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/29 "2022-05-07T20:29:36Z")

</div>

That config does not produce any errors for me so you’re doing something else to cause. Also, it doesn’t actually have the define noted in first post to actually test anything.

---

<div class="post-metadata">

**Author:** ![MeatySmurf](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/meatysmurf/32/4810_2.png) [@MeatySmurf](https://crucible.hubbe.net/u/MeatySmurf)\
**Post date:** [May 7, 2022, 8:45pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/30 "2022-05-07T20:45:49Z")

</div>

I had the define added initially, but got the error from the outset. I removed the define, as part of troubleshooting, just trying to get things working. Once I can verify, it’s going back in for testing. But aside from renaming the folder to ‘ProffieOS’, so it would run, I didn’t do anything, other than drop the config in the ‘config’ folder.

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 7, 2022, 8:50pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/31 "2022-05-07T20:50:23Z")

</div>

Odd, never encountered that error and can’t replicate. Not sure what would cause.

---

<div class="post-metadata">

**Author:** ![MeatySmurf](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/meatysmurf/32/4810_2.png) [@MeatySmurf](https://crucible.hubbe.net/u/MeatySmurf)\
**Post date:** [May 7, 2022, 9:40pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/32 "2022-05-07T21:40:48Z")

</div>

I can get it to verify if I remove the #include prop line. I tried the 4 different props and they all give the same error. I tried disabling all but the basic defines and removing all but 1 basic preset, but the error persists, if a prop is present.

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [May 7, 2022, 9:43pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/33 "2022-05-07T21:43:54Z")

</div>

> [@MeatySmurf](#):
>
> D:\Saberstuff\TEST OS\ProffieOS\scripts\clash\_recorder.h:48:5: error: ‘Saber’ has not been declared  
> 48 | Saber::On();

I am also getting this error now.  
I guess it’s not supposed to be `SaberBase::On();`  
@profezzorn?

> <https://github.com/profezzorn/ProffieOS/blob/f4c77ebe5c9bf7d995d490b768702b766d46c3c6/scripts/clash_recorder.h#L48>

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [May 7, 2022, 10:35pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/34 "2022-05-07T22:35:57Z")

</div>

Oh, that’s supposed to be BASE::On();

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 7, 2022, 10:38pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/35 "2022-05-07T22:38:47Z")

</div>

That came over from master with last Fetch and Merge.

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [May 7, 2022, 10:53pm UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/36 "2022-05-07T22:53:51Z")

</div>

@MeatySmurf @NoSloppy  
I fixed the BASE::On() in the audio\_clash fork. If you pull new ZIP it should work now.

> **[GitHub - fdarosa2663/ProffieOS at audio-clash](https://github.com/fdarosa2663/ProffieOS/tree/audio-clash)**
>
> audio-clash

@profezzorn were you fixing in master or do want in a PR?

---

<div class="post-metadata">

**Author:** ![MeatySmurf](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/meatysmurf/32/4810_2.png) [@MeatySmurf](https://crucible.hubbe.net/u/MeatySmurf)\
**Post date:** [May 8, 2022, 3:29am UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/37 "2022-05-08T03:29:15Z")

</div>

I have done some testing and outside of battle mode it works pretty well. The false clashes are all but gone. Though, there is a rogue one here and there. I had to lower my clash to 2.0 to get to good, responsive level.  
With battle mode active pretty much every clash is a lockup. It’s difficult to get a real clash. This can be a pain to break the force ice blade when it’s triggered. The false clashes with battle mode active are mostly gone too. When they do happen they are lockups or melts. My BM clash detect is at 8. Max clash is 16.  
All in all, this one saber operates much better. I have another to test, but I am done for the night.  
I ended up with my volume at 2000, clash threshold at 2.0 and suppression at 20.  
I went as low as 5 on the suppression and I think up to 40 one time. That was no bueno. 20 seems to be good for me on this one.

---

<div class="post-metadata">

**Author:** ![A\_Rogue\_Child](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/a_rogue_child/32/4449_2.png) [@A\_Rogue\_Child](https://crucible.hubbe.net/u/A_Rogue_Child)\
**Post date:** [May 8, 2022, 4:38am UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/38 "2022-05-08T04:38:51Z")

</div>

Downloaded the code and I’m all setup. Pushed CLASH\_THRESHOLD back down to 3.0 and put in #define AUDIO\_CLASH\_SUPPRESSION\_LEVEL 20 into one of my Bendu’s and left the other at OS5.9 for side by side comparisons. \*The 5.9 hilt stays at 3.0 and 1400.

The fork gave SOLID RESULTS. With the define at 20 and volume back up to 1400, comparing hilts responses side by side the new fork gives exactly the same results I was accustomed to prior in OS5.9 both in and out of BattleMode. I even pushed hard with multi blast and all is good.

Thanks @Fett263 , I’ll keep testing throughout the week.

---

<div class="post-metadata">

**Author:** ![NitTheGrit](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nitthegrit/32/1069_2.png) [@NitTheGrit](https://crucible.hubbe.net/u/NitTheGrit)\
**Post date:** [May 8, 2022, 5:42am UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/39 "2022-05-08T05:42:29Z")

</div>

Thanks for this, Fernando! Will test this out asap and report back.

---

<div class="post-metadata">

**Author:** ![NitTheGrit](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nitthegrit/32/1069_2.png) [@NitTheGrit](https://crucible.hubbe.net/u/NitTheGrit)\
**Post date:** [May 8, 2022, 7:14am UTC](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797/40 "2022-05-08T07:14:37Z")

</div>

So far so good, Fernando. Thank you!  
I’ve got 2 or 3 other sabers I want to put this new code onto and test with, but this StarFall was the one I was getting the highest amount of unprompted clashes & stabs with, previously.

[https://youtu.be/CAPpNnKfaqM](https://youtu.be/CAPpNnKfaqM)

[Previous page](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797.md?page=1)

[Next page](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797.md?page=3)
