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.

merge track/S4-ensemble: one freeze flag. S4's per-call cast in render is dropped (voice() already hands legacy opts from Piece.legacy); the owl lesson moves from a per-part legacy opt to Piece.legacy (owlSocial audio md5 9974bc45 unchanged)

Alex Greenshpunf14f47291a6d
diff --cc skills/anidoodle/engine/src/canvas-core/lessonOwlScore.ts
index aba6c2b,cad5c2e..4954ef4
--- a/skills/anidoodle/engine/src/canvas-core/lessonOwlScore.ts
+++ b/skills/anidoodle/engine/src/canvas-core/lessonOwlScore.ts
@@@ -82,7 -82,7 +82,7 @@@ export const owlPiece = (sp: OwlSoundPl
];
const bars = Math.ceil((E + 7) / 4);
return {
-- title: "How to draw an owl (social cut)", seed: 1109, tail: 1.5, harmony: [],
++ title: "How to draw an owl (social cut)", seed: 1109, tail: 1.5, harmony: [], legacy: true, // shipped lesson: frozen on the pre-rebuild sound (Piece.legacy)
plan: { style: "minimalist", tempo: sp.bpm, meter: "4/4", rubato: 0, ritard: 1, sections: [{ id: "all", bars, mood: "curious", key: "G", mode: "major", melody: ["ostinato", "hook"], dyn: [0.62, 0.7], ending: "button" }] },
parts,
};
diff --cc skills/anidoodle/engine/src/canvas-core/music/instruments.ts
index e1cd3ee,03db745..60190a5
--- a/skills/anidoodle/engine/src/canvas-core/music/instruments.ts
+++ b/skills/anidoodle/engine/src/canvas-core/music/instruments.ts
@@@ -2,7 -2,7 +2,8 @@@
// presses in seconds. Presets are numbers in one place (the constants at the top of each voice).
import { type Rng, TAU, clamp, pan, SVF, Biquad, blep, onePoleCoef, gauss } from "./dsp";
import type { Played } from "./perform";
+import { kitVoice, type KitCtx } from "./drums";
+ import * as E from "./ensemble";
type Out = { L: Float32Array; R: Float32Array };
type Opts = Record<string, number | boolean | string>;