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.

music: name the recorded room in the report whenever a pack is loaded

Alex Greenshpun90e1819db5c3
diff --git a/skills/anidoodle/engine/tools/music.mjs b/skills/anidoodle/engine/tools/music.mjs
index fa866c2..ea61a91 100644
--- a/skills/anidoodle/engine/tools/music.mjs
+++ b/skills/anidoodle/engine/tools/music.mjs
@@ -427,7 +427,7 @@ const vocabMarkdown = (M) => {
/** Key/mode problems, composer warnings, the master (did the peak cap stop it short?), and the guards. Returns pass. */
const report = (M, r, piece, cache, bands) => {
- if (ROOM_ID) console.log(`space ${r.mixReport?.space ?? "legacy space"}`);
+ if (ROOM_ID || (SOUNDS_DIR && r.mixReport?.space)) console.log(`space ${r.mixReport?.space ?? "legacy space"}`);
let ok = true; const probs = M.planProblems(piece), warn = piece.warnings ?? [];
for (const p of probs) console.log(`PROBLEM ${p}`); ok = ok && !probs.length;
for (const w of warn) console.log(`WARNING ${w}`);