# Does this define work?

**URL:** <https://crucible.hubbe.net/t/does-this-define-work/2694>\
**Category:** Fett263 Corner\
**Created:** [December 13, 2022, 10:56am UTC](https://crucible.hubbe.net/t/does-this-define-work/2694 "2022-12-13T10:56:35Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [December 13, 2022, 11:29am UTC](https://crucible.hubbe.net/t/does-this-define-work/2694/3 "2022-12-13T11:29:08Z")

</div>

The define only works in the pre-Alpha version of OS7 on github.

> **[GitHub - profezzorn/ProffieOS: Lightsaber Controller Software](https://github.com/profezzorn/ProffieOS)**
>
> Lightsaber Controller Software. Contribute to profezzorn/ProffieOS development by creating an account on GitHub.

See info here just use link above instead of the test fork.

> [@Testing Needed - AUDIO\_CLASH\_SUPPRESSION\_LEVEL](https://crucible.hubbe.net/t/testing-needed-audio-clash-suppression-level/1797):
>
> I’ve been working with @profezzorn to address the false clashes from speaker vibrations and we have a potential solution but need more testing. I didn’t actually have any sabers that exhibit this behavior but I was able to replicate by leaving the bottom half of a hilt off and lowering the CLASH\_THRESHOLD\_G for one of my sabers so I used it to test. Now we need to have users who’ve actually had this issue to help test and prove it out. Baseline: [[AUDIO\_CLASH\_SUPPRESSION\_LEVEL Baseline Test] ](https://www.youtube.com/watch?v=BpFoSFxpLDc) POC (Test 1): [[AUDIO\_CLASH\_SUPPRESSION\_LEVEL Proof of Concept] ](https://www.youtube.com/watch?v=64VVA8W99LU) I have set up a fork with the changes for testing. Go to this page and click the green “Code” button, then select “Download Zip” There is a new define that lets you set the suppression level for audio #define AUDIO\_CLASH\_SUPPRESSION\_LEVEL 20 The range for this define is 1 ~ 50 with 1 having almost no suppression for audio and 50 being really high suppression (although the highest I needed during testing was 20 to get desired result). This define works in conjunction with your CLASH\_THRESHOLD\_G and to some extent your VOLUME, so users can also use a lower suppression level to be able to increase the volume or lower the CLASH\_THRESHOLD\_G and increase the sensitivity of the saber. As a start point my test saber these were the config values I had (although I had to try to recreate this issue so users will need to determine the “Goldilocks” values for their saber: #define VOLUME 1800 #define CLASH\_THRESHOLD\_G 3.0 #define AUDIO\_CLASH\_SUPPRESSION\_LEVEL 20 The higher the AUDIO\_CLASH\_SUPPRESSION\_LEVEL the lower you should be able to set CLASH\_THRESHOLD\_G, you may also be able to increase the VOLUME and not get false clashes but you want to be mindful of what your speaker can handle so you don’t damage the speaker by setting volume too high. I typically change CLASH\_THRESHOLD\_G by either 0.25 or 0.5 increments and the AUDIO\_CLASH\_SUPRESSION\_LEVEL by 5s to find the right balance. I would recommend testing on loud, bassy fonts and run through your accent swings, quotes, force, tracks as those were the sounds that seemed to cause the most false clashes for me. Some fonts and sounds are more likely to trigger false clashes so you’ll want to find the config values that handle everything while still letting you trigger actual clashes as usual. Note if you set the AUDIO\_CLASH\_SUPPRESSION\_LEVEL too high it will become very hard to trigger any clashes so start around 20 and adjust up or…

---

_[View the full topic](https://crucible.hubbe.net/t/does-this-define-work/2694)._
