Formatting and tests

This commit is contained in:
Aria 2025-09-10 21:39:02 -05:00
parent 51b150b829
commit 9848740e18
6 changed files with 85 additions and 8 deletions

View file

@ -4,7 +4,7 @@
import OLAProcessor from './ola-processor';
import FFT from './fft.js';
import { getDistortionAlgorithm } from './helpers.mjs';
import { getDistortionAlgorithm } from './helpers.mjs';
const clamp = (num, min, max) => Math.min(Math.max(num, min), max);
const _mod = (n, m) => ((n % m) + m) % m;