diff options
| author | julian laplace <julescarbon@gmail.com> | 2025-07-09 19:28:32 +0200 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2025-07-09 19:28:32 +0200 |
| commit | d7cf2d2404d205e9480befaf6a2b454471de75a2 (patch) | |
| tree | 7fc5b47d528cd5a73dd7751bb7f70347701510da /client/lib/util.js | |
| parent | e3bf17a4782cd86bdbfbc51fa5ef3af0ec32a34f (diff) | |
test equal tempered scale
Diffstat (limited to 'client/lib/util.js')
| -rw-r--r-- | client/lib/util.js | 2 |
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); |
