summaryrefslogtreecommitdiff
path: root/client/lib/util.js
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2025-07-09 19:28:32 +0200
committerjulian laplace <julescarbon@gmail.com>2025-07-09 19:28:32 +0200
commitd7cf2d2404d205e9480befaf6a2b454471de75a2 (patch)
tree7fc5b47d528cd5a73dd7751bb7f70347701510da /client/lib/util.js
parente3bf17a4782cd86bdbfbc51fa5ef3af0ec32a34f (diff)
test equal tempered scale
Diffstat (limited to 'client/lib/util.js')
-rw-r--r--client/lib/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/lib/util.js b/client/lib/util.js
index d0a3914..95f1bc4 100644
--- a/client/lib/util.js
+++ b/client/lib/util.js
@@ -27,7 +27,7 @@ function roundInterval(interval) {
return Math.round(interval * 10000000);
}
const intervalInRange = (interval, root) =>
- 20 < interval * root && interval * root < 15000;
+ 20 < interval * root && interval * root < 20000;
const lerp = (n, a, b) => (b - a) * n + a;
const clamp = (n, a = 0, b = 1) => (n < a ? a : n < b ? n : b);