Refactor EQPage component to enhance PEQ preset management by introducing a local cache for presets, improving frequency normalization and display functions, and updating related state handling methods. Add real-time slider preview for better user experience.
This commit is contained in:
@@ -89,7 +89,7 @@ function vuHeightsForDance(elapsedMs: number): number[] {
|
||||
const kick = Math.sin(beatPhase * Math.PI);
|
||||
|
||||
return Array.from({ length: VU_BAR_COUNT }, (_, i) => {
|
||||
const dist = Math.abs(i - lead);
|
||||
const dist = Math.abs(i - lead);
|
||||
let peak = 0.06;
|
||||
if (dist === 0) peak = 1;
|
||||
else if (dist === 1) peak = 0.82;
|
||||
|
||||
Reference in New Issue
Block a user