provide a set of alternative values for baseline tracking

disable release debounce to make touch notes more easier, but it might make hold notes miss a tick or two. I think it's worth it.
main
xyqyear 2023-12-01 11:16:38 +08:00
parent abe3530ee8
commit 9076898b2b
1 changed files with 11 additions and 1 deletions

View File

@ -72,6 +72,16 @@ const uint8_t RELEASE_THREASHOLD_OFFSET = 0;
// NHDF = 1
// NCLF = 16
// FDLF = 4
// if some regions get stuck easily, you can try the following values
// to make the system more sensitive to environmental changes
// MHDR = 2;
// NHDR = 2;
// NCLR = 4;
// FDLR = 0;
// MHDF = 4;
// NHDF = 2;
// NCLF = 16;
// FDLF = 2;
// rising NHD is larger than falling NHD because rising is the release direction
// the rising changes are more likely to be environmental changes
// rising NCL being smaller than falling NCL is because of the same reason
@ -125,7 +135,7 @@ const uint8_t ELECTRODE_SAMPLE_INTERVAL = 0;
// this smoothes out the signal and prevents false release
// however, a debounce value that's too high might cause releases that are too short to be missed
// if the user notices too many false releases, try to increase this value. but don't set it too high
const uint8_t RELEASE_DEBOUNCE = 1;
const uint8_t RELEASE_DEBOUNCE = 0;
// range: 0 - 7
// when DT + 1 samples are higher than the threshold, the electrode is touched