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.

Plugin bundle: leave the blind-test scores (test fixtures) out of the installed plugin

Alex Greenshpun90a1c2df936c
diff --git a/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/breach.ts b/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/breach.ts
deleted file mode 100644
index 8b47d46..0000000
--- a/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/breach.ts
+++ /dev/null
@@ -1,59 +0,0 @@
-// BREACH: 30 s cybersecurity reveal teaser. drive vocabulary, tension mood, C# aeolian, 4/4, 130 bpm.
-// Picture beats (bar = 1.846 s): 0 s pulse starts, 3.7 s scan motif, 11.1 s pressure rises,
-// 18.5 s build, 22.2 s one bar of held breath, 24.0 s HARD REVEAL (bar 14), 27.7 s tag button.
-import type { Material } from "../compose";
-
-const P = "C#2:.5 C#2:.5 C#2:.5 C#3:.5 C#2:.5 C#2:.5 C#2:.25 C#2:.25 G#1:.5"; // the pedal pulse
-export const breach = (): Material => ({
- style: "drive", title: "Breach", seed: 4471, mood: "tension",
- bpm: 130, key: "C#", mode: "aeolian", meter: "4/4",
- tail: 2.4, levels: { bass: 0.2, hat: 6.5, arp: -5.8, lead: 1.6, kick: 0.6, snare: -2.9, perc: -6 } /* sound v2: re-balanced so every stem sits where the composer put it against its target (the notes are untouched); written for v1 as bass: -3.5, hat: 25, arp: -1, lead: 7.9 */,
- moodControls: { energy: 0.7, warmth: 0.3, brightness: 0.35, tension: 0.85, space: 0.35 },
- chords: {
- i: { voicing: "[G#3 C#4 D#4 E4]", bass: P },
- iv_i: { voicing: "[A3 C#4 F#4]", bass: P },
- VI_i: { voicing: "[G#3 A3 C#4 E4]", bass: P },
- III: { voicing: "[G#3 B3 E4]", bass: "E2:.75 E2:.25 r:.5 E2:.5 E3:.25 E2:.75 B1:.5 D#2:.5" },
- v: { voicing: "[F#3 B3 D#4]", bass: "G#1:.75 G#1:.25 r:.5 G#1:.5 G#2:.25 G#1:.75 G#1:.5 F#1:.5" },
- VI: { voicing: "[G#3 C#4 E4]", bass: "A1:.75 A1:.25 r:.5 A1:.5 A2:.25 A1:.75 A1:.5 B1:.5" },
- // build: a G# pedal under climbing shapes
- ivG: { voicing: "[A3 C#4 F#4]", bass: "G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25" },
- VIG: { voicing: "[A3 C#4 E4 B4]", bass: "G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25 G#1:.25" },
- Vsus: { voicing: "[G#3 C#4 D#4]", bass: "r:4" },
- // the reveal and the tag
- I5: { voicing: "[C#3 G#3 C#4 E4 G#4]", bass: "C#2:1.5 C#2:.5 r:.5 C#3:.5 C#2:.5 C#2:.5" },
- bIII: { voicing: "[B3 E4 G#4]" }, IV: { voicing: "[C#4 F#4 A#4]" },
- home: { voicing: "[C#3 G#3 C#4 G#4]", bass: "C#2:1 r:3" },
- },
- motifs: {
- // the scan: an upbeat start, a semitone twitch, then a leap to a long high note
- scan: "r:.5 G#4:.5 A4:.25 G#4:.75 r:.5 E5:1.5",
- scanQ: "r:.5 G#4:.5 A4:.25 G#4:.75 r:.5 F#5:.5 E5:1",
- scanA: "r:.5 E4:.5 F#4:.25 E4:.75 r:.5 C#5:1.5",
- scanUp: "r:.5 B4:.5 C#5:.25 B4:.75 r:.5 G#5:1.5",
- scanUp2: "r:.5 C#5:.5 D#5:.25 C#5:.75 r:.5 A5:.5 G#5:1",
- frag1: "G#4:.5 A4:.25 G#4:.25 B4:.5 C#5:.25 B4:.25 C#5:.5 D#5:.25 C#5:.25 E5:.5 F#5:.25 E5:.25",
- frag2: "G#5:.25 A5:.25 G#5:.25 A5:.25 B5:.25 A5:.25 B5:.25 C#6:.25 D#6:1 r:1",
- whisper: "r:2.5 D#5:.5 G#5:1",
- // the reveal: the scan augmented an octave up, then the tag's answer
- big: "G#5:1 A5:.5 G#5:1.5 E6:1",
- bigA: "C#6:1.5 B5:.5 A#5:1 G#5:1",
- button: "[C#5 G#5]:.75 r:3.25",
- // the pulse: a 3-note cell across 16ths (it realigns every 3 bars)
- pulse16: "C#5:.25 G#4:.25 D#5:.25 C#5:.25 G#4:.25 D#5:.25 C#5:.25 G#4:.25 D#5:.25 C#5:.25 G#4:.25 D#5:.25 C#5:.25 G#4:.25 D#5:.25 C#5:.25",
- },
- grooves: {
- main: { family: "tension", density: 0.55, variation: 0.35 },
- build: { family: "build", density: 0.8 },
- drop: { family: "fourFloor", density: 0.85, variation: 0.3, fill: true },
- },
- sections: [
- { kind: "intro", bars: 2, harmony: ["i"], chordVel: 0.55, arp: ["pulse16", "pulse16"] },
- { kind: "verse", bars: 4, harmony: ["i", "i", "VI_i", "iv_i"], lead: ["scan", "scanQ", "scanA", "r:4"], arp: Array(4).fill("pulse16"), energy: 0.25, chordVel: 0.7 },
- { kind: "hook", bars: 4, harmony: ["i", "III", "v", "VI"], lead: ["scanUp", "scanUp2", "scan", "scanQ"], arp: Array(4).fill("pulse16"), energy: 0.7 },
- { kind: "build", bars: 2, harmony: ["ivG", "VIG"], lead: ["frag1", "frag2"], arp: ["pulse16", "pulse16"], energy: 0.9 },
- { kind: "breath", bars: 1, harmony: ["Vsus"], chordVel: 0.15, lead: ["whisper"] },
- { kind: "drop", bars: 2, groove: "drop", harmony: ["I5", "bIII IV"], bass: [P.replace(/C#2:\.5 C#2:\.5 C#2:\.5/, "C#2:1 C#2:.5"), "E2:.5 E2:.5 E2:.5 E3:.5 F#2:.5 F#2:.5 F#3:.5 F#2:.5"], lead: ["big", "bigA"], arp: ["pulse16", "r:2 C#5:.25 G#4:.25 D#5:.25 C#5:.25 G#4:.25 D#5:.25 E5:.25 F#5:.25"], energy: 1 },
- { kind: "outro", bars: 1, harmony: ["home"], chordVel: 0.6, lead: ["button"] },
- ],
-});
diff --git a/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/morningCrumb.ts b/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/morningCrumb.ts
deleted file mode 100644
index 9beeb94..0000000
--- a/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/morningCrumb.ts
+++ /dev/null
@@ -1,75 +0,0 @@
-// MORNING CRUMB: a 40 s seamless loop for a small bakery. playful vocabulary, playful mood,
-// F major, 4/4 shuffle at 120 bpm: 20 bars x 2 s = exactly 40 s. Marimba hook, fingerpicked
-// guitar, tuba oom-pah, celesta crumbs answering. A bVI surprise in the bridge, then a
-// turnaround whose C7 falls back into bar 1.
-import type { Material } from "../compose";
-
-// Chord tones (low to high) for the guitar picking, per chord name.
-const T: Record<string, string[]> = {
- F6: ["F3", "C4", "A3", "D4"], Am7: ["A3", "E4", "C4", "G4"], D7: ["D3", "C4", "F#3", "A3"],
- Gm7: ["G3", "D4", "Bb3", "F4"], Bb6: ["Bb2", "F3", "D4", "G3"], C7: ["C3", "G3", "E4", "Bb3"],
- Db: ["Db3", "Ab3", "F4", "C4"], Bdim: ["B2", "F3", "D4", "Ab3"], Dm7: ["D3", "A3", "F4", "C4"],
-};
-// a bar of picking: bass-note on the beat, a two-note pinch on the swung upbeat; halves for split bars
-const half = (c: string) => { const t = T[c]; return `${t[0]}:.5 [${t[2]} ${t[3]}]:[email protected] ${t[1]}:.5 [${t[2]} ${t[3]}]:[email protected]`; };
-const pick = (bar: string) => { const cs = bar.split(" "); return cs.length === 1 ? `${half(cs[0])} ${half(cs[0])}` : `${half(cs[0])} ${half(cs[1])}`; };
-const picks = (bars: string[]) => bars.map(pick);
-// tuba: oom-pah, root and fifth, a walk-up pickup where the next chord moves
-const R: Record<string, [string, string]> = {
- F6: ["F2", "C2"], Am7: ["A1", "E2"], D7: ["D2", "A1"], Gm7: ["G1", "D2"], Bb6: ["Bb1", "F2"],
- C7: ["C2", "G1"], Db: ["Db2", "Ab1"], Bdim: ["B1", "F2"], Dm7: ["D2", "A1"],
-};
-const tuba = (bar: string) => { const cs = bar.split(" "); if (cs.length === 2) return `${R[cs[0]][0]}:1 ${R[cs[0]][1]}:1 ${R[cs[1]][0]}:1 ${R[cs[1]][1]}:1`; const [r, f] = R[cs[0]]; return `${r}:1 ${f}:1 ${r}:1 ${f}:.5 ${f}:[email protected]`; };
-const tubas = (bars: string[]) => bars.map(tuba);
-
-const A = ["F6", "Am7 D7", "Gm7", "Bb6 C7"];
-const A2 = ["F6", "Am7 D7", "Gm7 C7", "F6"];
-const BR = ["Db", "C7", "Bb6", "Bdim"];
-const TA = ["F6", "Dm7", "Gm7 C7", "Gm7 C7"];
-
-export const morningCrumb = (): Material => ({
- style: "playful", title: "Morning Crumb", seed: 2207, mood: "playful",
- bpm: 120, key: "F", mode: "major", meter: "4/4", swing: 0.58, loop: true,
- levels: { counter: -6.3, chords: -2, lead: -0.5, bass: 0.4, kick: 0.4, snare: 0.5, arp: 4.6 } /* sound v2: re-balanced so every stem sits where the composer put it against its target (the notes are untouched); written for v1 as counter: 7, chords: -6 */,
- moodControls: { energy: 0.45, warmth: 0.75, brightness: 0.45, tension: 0.2, space: 0.35 },
- voices: { arp: { inst: "guitar", role: "accomp", gainDb: 8 }, bass: "tuba" },
- chords: {
- F6: { voicing: "[A3 C4 D4 F4]" }, Am7: { voicing: "[G3 C4 E4]" }, D7: { voicing: "[F#3 C4 D4]" },
- Gm7: { voicing: "[F3 Bb3 D4]" }, Bb6: { voicing: "[F3 G3 Bb3 D4]" }, C7: { voicing: "[E3 G3 Bb3]" },
- Db: { voicing: "[F3 Ab3 C4]" }, Bdim: { voicing: "[F3 Ab3 D4]" }, Dm7: { voicing: "[F3 A3 C4]" },
- },
- motifs: {
- // the crumb: an upbeat pickup, a hop up a 4th, a staccato repeat, a zig-zag, then a gap
- crumb: "r:.5 C5:.5 F5:.5 F5:.25 r:.25 E5:.5 G5:.5 r:1",
- crumbUp: "r:.5 D5:.5 G5:.5 G5:.25 r:.25 F5:.5 A5:.5 r:1",
- tumble: "A5:.5 G5:.5 E5:1 F#5:.5 A5:.5 r:1",
- askEnd: "Bb5:.5 A5:.5 G5:1 E5:.5 G5:.5 C6:.5 r:.5",
- tumble2: "A5:.5 C6:.5 B5:.5 A5:.5 F#5:1 r:1",
- walkDown: "r:.5 Bb5:.5 A5:.5 G5:.5 E5:.5 C5:.5 D5:.5 E5:.5",
- homeHop: "F5:1.5 r:.5 C5:.25 r:.25 F4:.5 r:1",
- // bridge: the crumb on the bVI, then a comic stop
- crumbDb: "r:.5 Ab4:.5 Db5:.5 Db5:.25 r:.25 C5:.5 Eb5:.5 r:1",
- stop: "E5:.5 G5:.5 Bb5:1 r:2",
- crumbBb: "r:.5 F5:.5 Bb5:.5 Bb5:.25 r:.25 A5:.5 C6:.5 r:1",
- slide: "D6:.5 B5:.5 Ab5:.5 F5:.5 D5:.5 r:1.5",
- // turnaround
- bite: "A5:.5 F5:.5 D5:1 r:2",
- climb: "r:.5 Bb4:.5 D5:.5 F5:.5 E5:.5 G5:.5 Bb5:.5 r:.5",
- shrug: "A5:.25 Bb5:.25 A5:.5 G5:.5 E5:.5 r:2",
- // celesta crumbs answering in the gaps
- c1: "r:3 G6:.25 F6:.25 C6:.5", c2: "r:3 A6:.25 G6:.25 D6:.5", c3: "r:3.5 C7:.25 A6:.25",
- },
- grooves: { main: { family: "shuffle", density: 0.45, variation: 0.35, fill: true } },
- sections: [
- { kind: "verse", bars: 4, harmony: A, bass: tubas(A), arp: picks(A), energy: 0.35,
- lead: ["crumb", "r:4", "crumbUp", "r:4"], counter: ["r:4", "c1", "r:4", "c2"] },
- { kind: "hook", bars: 4, harmony: A, bass: tubas(A), arp: picks(A), energy: 0.55,
- lead: ["crumb", "tumble", "crumbUp", "askEnd"] },
- { kind: "hook", bars: 4, harmony: A2, bass: tubas(A2), arp: picks(A2), energy: 0.6,
- lead: ["crumb", "tumble2", "walkDown", "homeHop"], counter: ["c1", "r:4", "c3", "r:4"] },
- { kind: "bridge", bars: 4, harmony: BR, bass: tubas(BR), arp: picks(BR), energy: 0.4, chordVel: 0.9,
- lead: ["crumbDb", "stop", "crumbBb", "slide"] },
- { kind: "groove", bars: 4, harmony: TA, bass: tubas(TA), arp: picks(TA), energy: 0.5,
- lead: ["crumb", "bite", "climb", "shrug"], counter: ["r:4", "c2", "r:4", "c3"] },
- ],
-});
diff --git a/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/skywardKids.ts b/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/skywardKids.ts
deleted file mode 100644
index e9d85e5..0000000
--- a/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/skywardKids.ts
+++ /dev/null
@@ -1,92 +0,0 @@
-// SKYWARD KIDS: a 30 s trailer for a children's adventure game. orchestral vocabulary, heroic
-// mood, C major, a chromatic-mediant (E major) turn in the finish, 6/8 gallop at 88 bpm (a bar = 1.36 s, 20 bars).
-// The fanfare: two pickup eighths, a rising 4th then a 5th, a step down, then a climb to a long
-// note ("sky-ward, HO!"). Question lands on the 6th/5th, answer on the tonic; fragmented in the
-// bridge between brass and flute, climbed in the build, augmented at the finish.
-// Picture beats: 0 s ostinato, 2.7 s fanfare, 8.2 s full theme, 13.6 s the journey (bridge),
-// 19.1 s climb, 21.8 s the big finish, 25.9 s final chord + timpani.
-import type { Material } from "../compose";
-
-const T = (n: number) => `${n}/3`;
-// the string ostinato: a galloping 8th figure through the chord (low-high-mid, twice per bar)
-const ost = (a: string, b: string, c: string) => `${a}:${T(1)} ${c}:${T(1)} ${b}:${T(1)} ${a}:${T(1)} ${c}:${T(1)}@0.8 ${b}:${T(1)}@0.7`;
-const gallop = (r: string, f: string) => `${r}:${T(2)} ${r}:${T(1)} ${f}:${T(2)} ${r}:${T(1)}`;
-
-// timpani / drums written per ABSOLUTE bar (literal grooves cycle on the absolute bar number)
-const roots = ["C2", "C2", "C2", "C2", "A1", "G1", "C2", "D2", "F1", "C2", "A1", "F1", "D2", "A1", "G1", "G1", "C2", "E2", "F1", "C2"];
-const fifth: Record<string, string> = { C2: "G1", A1: "E2", G1: "D2", D2: "A1", F1: "C2", E2: "B1" };
-const timp = roots.map((r) => `${r}:${T(2)} r:${T(1)} ${fifth[r]}:${T(2)} ${fifth[r]}:${T(1)}@0.7`);
-const H = `C4:${T(1)}@0.5 C4:${T(1)}@0.3 C4:${T(1)}@0.35 C4:${T(1)}@0.5 C4:${T(1)}@0.3 C4:${T(1)}@0.35`;
-
-export const skywardKids = (): Material => ({
- style: "orchestral", title: "Skyward Kids", seed: 6128, mood: "heroic",
- bpm: 88, key: "C", mode: "major", meter: "6/8", tail: 2.8,
- moodControls: { energy: 0.7, warmth: 0.5, brightness: 0.65, tension: 0.3, space: 0.55 },
- voices: { counter: "flute" },
- levels: { hat: 9.2, perc: -8.2, counter: 6.4, chords: -1.2, arp: -1.6, bass: 1.3, kick: 1, snare: -1.4 } /* sound v2: re-balanced so every stem sits where the composer put it against its target (the notes are untouched); written for v1 as hat: 19, perc: -2.3, counter: 8, chords: -2, arp: 2.5, lead: 10 */,
- chords: {
- C: { voicing: "[E3 G3 C4 E4]", bass: gallop("C2", "G2") },
- F_C: { voicing: "[F3 A3 C4 F4]", bass: gallop("C2", "C3") },
- Am: { voicing: "[E3 A3 C4 E4]", bass: gallop("A1", "E2") },
- G: { voicing: "[D3 G3 B3 D4]", bass: gallop("G1", "D2") },
- D: { voicing: "[F#3 A3 D4]", bass: gallop("D2", "A2") },
- F: { voicing: "[F3 A3 C4]", bass: gallop("F1", "C2") },
- Dm7: { voicing: "[F3 A3 C4 D4]", bass: gallop("D2", "A1") },
- Bb: { voicing: "[F3 Bb3 D4]", bass: gallop("Bb1", "F2") },
- G7sus: { voicing: "[F3 G3 C4 D4]" }, G7: { voicing: "[F3 B3 D4 G4]" },
- // the finish
- CC: { voicing: "[E3 G3 C4 E4 G4]", bass: `C2:${T(4)} C2:${T(1)} G1:${T(1)}` },
- E: { voicing: "[E3 G#3 B3 E4]" }, Am2: { voicing: "[E3 A3 C4 E4]" },
- FF: { voicing: "[F3 A3 C4 F4]" }, GG: { voicing: "[G3 B3 D4 G4]" },
- Cend: { voicing: "[C3 G3 C4 E4 G4 C5]", bass: "C2:2" },
- },
- motifs: {
- fanA: `r:${T(1)} G3:${T(1)} C4:${T(1)} G4:${T(2)} F4:${T(1)}`,
- fanB: `E4:${T(1)} F4:${T(1)} G4:${T(1)} A4:1`,
- fanA2: `r:${T(1)} G3:${T(1)} C4:${T(1)} G4:${T(2)} A4:${T(1)}`,
- fanQ: `B4:${T(1)} A4:${T(1)} B4:${T(1)} D5:1`,
- // hook: the answer, landing home
- hk2: `F#4:${T(1)} G4:${T(1)} A4:${T(1)} D5:1`,
- hk3: `C5:${T(2)} A4:${T(1)} B4:${T(2)} G4:${T(1)}`,
- home: `C5:${T(5)} r:${T(1)}`,
- // bridge: the rising cell tossed between brass and flute
- brA: `r:${T(1)} E3:${T(1)} A3:${T(1)} E4:1`,
- brC: `r:${T(1)} F3:${T(1)} A3:${T(1)} D4:${T(2)} C4:${T(1)}`,
- flB: `r:${T(1)} C5:${T(1)} F5:${T(1)} C6:1`,
- flD: `r:${T(1)} D5:${T(1)} F5:${T(1)} Bb5:1`,
- // climb
- cl1: `G3:${T(1)} C4:${T(1)} D4:${T(1)} G3:${T(1)} C4:${T(1)} D4:${T(1)}`,
- cl2: `B3:${T(1)} D4:${T(1)} F4:${T(1)} G4:1`,
- // the finish in D: the fanfare augmented
- fin1: `G3:${T(2)} C4:${T(2)} G4:${T(2)}`,
- fin2: `G#4:${T(2)} B4:${T(1)} C5:1`,
- fin3: `A4:${T(2)} C5:${T(1)} B4:${T(2)} D5:${T(1)}`,
- fin4: `C5:${T(5)} r:${T(1)}`,
- // flute counter: bright running 8ths answering the brass long notes
- fl1: `r:1 E5:${T(1)} D5:${T(1)} C5:${T(1)}`, fl2: `r:1 A5:${T(1)} G5:${T(1)} E5:${T(1)}`,
- fl3: `r:1 D6:${T(1)} C#6:${T(1)} A5:${T(1)}`, fl4: `r:1 A5:${T(1)} G#5:${T(1)} E5:${T(1)}`
- , fl5: `r:1 C6:${T(1)} B5:${T(1)} G5:${T(1)}`,
- },
- grooves: {
- main: { kick: [`C4:${T(2)} r:${T(4)}`], snare: [`r:${T(5)} C4:${T(1)}@0.6`], hat: [H], perc: timp },
- build: { family: "build", density: 0.7 },
- lift: { kick: [`C4:1 C4:1`], snare: [`r:1 C4:${T(2)} C4:${T(1)}@0.6`], hat: [H], perc: timp },
- roll: { kick: [`C4:2`], perc: [Array.from({ length: 12 }, (_, i) => `C2:${T(0.5)}@${(0.35 + i * 0.05).toFixed(2)}`).join(" ")] },
- },
- sections: [
- { kind: "intro", bars: 2, harmony: ["C", "F_C"], chordVel: 0.7, arp: [ost("C4", "E4", "G4"), ost("C4", "F4", "A4")] },
- { kind: "verse", bars: 4, harmony: ["C", "F_C", "Am", "G"], lead: ["fanA", "fanB", "fanA2", "fanQ"],
- arp: [ost("C4", "E4", "G4"), ost("C4", "F4", "A4"), ost("A3", "C4", "E4"), ost("G3", "B3", "D4")], energy: 0.5 },
- { kind: "hook", bars: 4, harmony: ["C", "D", "F G", "C"], bass: [gallop("C2", "G2"), gallop("D2", "A2"), `F1:1 G1:1`, gallop("C2", "G2")],
- lead: ["fanA", "hk2", "hk3", "home"], counter: ["fl1", "fl3", "r:2", "fl2"],
- arp: [ost("C4", "E4", "G4"), ost("D4", "F#4", "A4"), `F4:${T(1)} A4:${T(1)} C5:${T(1)} G4:${T(1)} B4:${T(1)} D5:${T(1)}`, ost("C4", "E4", "G4")], energy: 0.7 },
- { kind: "bridge", bars: 4, harmony: ["Am", "F", "Dm7", "Bb"], lead: ["brA", "r:2", "brC", "r:2"], counter: ["r:2", "flB", "r:2", "flD"],
- arp: [ost("A3", "C4", "E4"), ost("F3", "A3", "C4"), ost("D4", "F4", "A4"), ost("D4", "F4", "Bb4")], energy: 0.5, chordVel: 0.85 },
- { kind: "build", bars: 2, harmony: ["G7sus", "G7"], bass: [`G1:${T(1)} G1:${T(1)} G1:${T(1)} G1:${T(1)} G1:${T(1)} G1:${T(1)}`, `G1:${T(1)} G1:${T(1)} G1:${T(1)} G1:${T(1)} B1:${T(1)} D2:${T(1)}`],
- lead: ["cl1", "cl2"], arp: [ost("C4", "D4", "G4"), ost("B3", "D4", "F4")], energy: 0.9 },
- { kind: "drop", bars: 3, groove: "lift", harmony: ["CC", "E Am2", "FF GG"], bass: [`C2:${T(4)} C2:${T(1)} G1:${T(1)}`, `E1:1 A1:1`, `F1:1 G1:1`],
- lead: ["fin1", "fin2", "fin3"], counter: ["fl5", "fl4", "r:2"],
- arp: [ost("C4", "E4", "G4"), `E4:${T(1)} G#4:${T(1)} B4:${T(1)} E4:${T(1)} A4:${T(1)} C5:${T(1)}`, `F4:${T(1)} A4:${T(1)} C5:${T(1)} G4:${T(1)} B4:${T(1)} D5:${T(1)}`], energy: 1 },
- { kind: "outro", bars: 1, groove: "roll", harmony: ["Cend"], lead: ["fin4"] },
- ],
-});
diff --git a/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/stillwater.ts b/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/stillwater.ts
deleted file mode 100644
index e59e8dc..0000000
--- a/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/music/blind/stillwater.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-// STILLWATER: a 45 s intro for a sleep and meditation app. ambient vocabulary, calm mood,
-// Db lydian, 3/4 at 52 bpm (a bar = 3.46 s, 12 bars + a long tail). No drums. A bell figure
-// that falls and then lifts by a step (a breath out, a small breath in), echoed by a pluck an
-// octave up; a slow celesta ripple keeps the water moving. It ends on the II chord over the
-// tonic pedal with the melody hanging on the 9th: floating, unresolved.
-import type { Material } from "../compose";
-
-export const stillwater = (): Material => ({
- style: "ambient", title: "Stillwater", seed: 9013, mood: "calm",
- bpm: 52, key: "Db", mode: "lydian", meter: "3/4", tail: 4.9,
- levels: { lead: 10, arp: 5.9, chords: 0.4, counter: 1.3, bass: 0.3 } /* sound v2: re-balanced so every stem sits where the composer put it against its target (the notes are untouched); written for v1 as lead: 10.5, arp: 5, chords: 2, counter: 9 */,
- moodControls: { energy: 0.15, warmth: 0.6, brightness: 0.4, tension: 0.1, space: 0.5 },
- chords: {
- I: { voicing: "[Ab3 C4 Eb4 F4]", bass: "Db2:3" },
- iii: { voicing: "[Ab3 C4 Eb4 G4]", bass: "Db2:3" },
- vi: { voicing: "[Ab3 Db4 F4 C5]", bass: "Bb1:3" },
- Vadd9: { voicing: "[Bb3 C4 Eb4 G4]", bass: "Ab1:3" },
- ivo: { voicing: "[Ab3 Bb3 Db4 F4]", bass: "G1:3" },
- II: { voicing: "[G3 Bb3 Eb4 F4]", bass: "Db2:3" },
- },
- motifs: {
- // the exhale: a long falling 4th, a step, then the small lift (the high point is the last note)
- ex: "F5:1.5 C5:.5 Db5:1",
- exR: "r:3",
- // varied: the lift reaches the lydian G (the colour note, early)
- exG: "F5:1.5 C5:.5 G5:1",
- ex2: "Ab5:1.5 Eb5:.5 F5:1",
- ex3: "G5:1.5 Db5:.5 Eb5:1",
- // the last word: the exhale starts but stops on the 9th and hangs
- last: "F5:1.5 C5:.5 Eb5:1",
- // pluck echoes an octave up, late in the bar
- e1: "r:2 F6:.5 Eb6:.5", e2: "r:2 G6:.5 Ab6:.5", e3: "r:2.5 Eb6:.5",
- // celesta ripples: one onset a beat, never on the same pattern twice in a row
- w1: "Db5:1 Ab5:1 C6:.5 Eb6:.5", w2: "Eb5:1 G5:.5 C6:.5 Ab5:1", w3: "Db5:1 F5:1 Db6:.5 C6:.5", w4: "G5:1 C6:.5 Eb6:.5 G5:1",
- w5: "Bb4:1 Db5:.5 F5:.5 C6:1", w6: "Bb4:1 Eb5:1 G5:.5 F5:.5",
- },
- grooves: {},
- sections: [
- { kind: "intro", bars: 2, harmony: ["I"], chordVel: 0.6, arp: ["w1", "w2"] },
- { kind: "verse", groove: null, bars: 4, harmony: ["I", "iii", "vi", "vi"], chordVel: 0.75,
- lead: ["ex", "exR", "exG", "exR"], counter: ["r:3", "e1", "r:3", "e2"], arp: ["w3", "w4", "w5", "w3"] },
- { kind: "bridge", groove: null, bars: 4, harmony: ["Vadd9", "ivo", "iii", "vi"], chordVel: 0.7,
- lead: ["ex2", "exR", "ex3", "r:3"], counter: ["r:3", "e3", "r:3", "e1"], arp: ["w6", "w5", "w2", "w3"] },
- { kind: "outro", bars: 2, harmony: ["II"], chordVel: 0.6, lead: ["last", "r:3"], arp: ["w6", "Eb5:1 G5:.5 Bb5:.5 F5:1"] },
- ],
-});
diff --git a/scripts/sync-codex-marketplace-plugin.sh b/scripts/sync-codex-marketplace-plugin.sh
index 309824d..e70b537 100755
--- a/scripts/sync-codex-marketplace-plugin.sh
+++ b/scripts/sync-codex-marketplace-plugin.sh
@@ -38,7 +38,7 @@ cd "${REPO_ROOT}"
# The installed plugin leaves out what only the repository needs: anidoodle's own launch films
# (launch, launch2, launch3, launchClip and their helpers and pages), the public-domain reference
# image they show, and the gallery sheet and the tool that rebuilds it (the docs link to it online).
-EXCLUDE='/canvas-core/(launch|launch2|launch3|launchClip|launchCode|typeOptions|typeStyles)\.ts$|/hosts/page-(launch|launch2|launch3|launchClip|typeOptions|typeStyles)\.ts$|/engine/assets/refs/|/engine/tools/gallery\.mjs$|^skills/anidoodle/assets/styles\.jpg$|/engine/package-lock\.json$'
+EXCLUDE='/canvas-core/(launch|launch2|launch3|launchClip|launchCode|typeOptions|typeStyles)\.ts$|/hosts/page-(launch|launch2|launch3|launchClip|typeOptions|typeStyles)\.ts$|/engine/assets/refs/|/engine/tools/gallery\.mjs$|^skills/anidoodle/assets/styles\.jpg$|/engine/package-lock\.json$|/music/blind/'
count=0
while IFS= read -r f; do
mkdir -p "${STAGE}/$(dirname "$f")"; cp -p "$f" "${STAGE}/$f"; count=$((count + 1))