Skip to content

Art and animation, written as code. Illustrations, loops, interactive web art, launch-videos and scored films in dozens of styles, identical on every render.

Compensate accompaniment carving for broadband EQ makeup

Alex Greenshpund3f82d7893dd
diff --git a/skills/anidoodle/engine/src/canvas-core/music/mixProfiles.ts b/skills/anidoodle/engine/src/canvas-core/music/mixProfiles.ts
index c634e3c..ef0bb82 100644
--- a/skills/anidoodle/engine/src/canvas-core/music/mixProfiles.ts
+++ b/skills/anidoodle/engine/src/canvas-core/music/mixProfiles.ts
@@ -138,7 +138,7 @@ export const recordedEq = (e: StemEq, role: Role, excessDb: number, fractionDb:
if (role !== "bass" && role !== "accomp") return e;
// A reference can itself be bright. Also limit absolute band occupancy toward 6% (-12 dB).
// One broad bell spans the guard's 500 Hz-4 kHz band; the existing makeup stage holds level.
- const depth = Math.min(role === "bass" ? 12 : 6, Math.max(0, excessDb, fractionDb + 12) * 0.8);
+ const depth = Math.min(role === "bass" ? 12 : 9, Math.max(0, excessDb, fractionDb + 12) * (role === "bass" ? 0.8 : 1.4));
return depth > 0 ? { ...e, bells: [...(e.bells ?? []), [1400, 0.45, -depth]] } : e;
};
/** A one-line summary for tools/music.mjs vocab. */