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.

soundfetch: match the docs to the tool's real behaviour (only get downloads)

Alex Greenshpunb03f1659785a
diff --git a/README.md b/README.md
index 57e7741..818b6d5 100644
--- a/README.md
+++ b/README.md
@@ -99,7 +99,7 @@ The notes are written as data and the engine makes every sound: nothing loaded,
Install the optional sound pack and eight acoustic instruments play recordings of real ones: a Steinway grand and an upright, concert harp, marimba, vibraphone, glockenspiel, tubular bells and timpani, in three recorded rooms. Synths, lo-fi colour, electronic drums and sound effects stay in code. Without the pack every score still plays, unchanged.
```bash
-node <skill>/engine/tools/soundfetch.mjs list # what the pack holds, and what is installed
+node <skill>/engine/tools/soundfetch.mjs list # the install directory and what is installed
node <skill>/engine/tools/soundfetch.mjs get all # download, verify by hash, unpack
```
diff --git a/skills/anidoodle/SKILL.md b/skills/anidoodle/SKILL.md
index 7a71916..c206da8 100644
--- a/skills/anidoodle/SKILL.md
+++ b/skills/anidoodle/SKILL.md
@@ -113,8 +113,8 @@ node tools/still.mjs intro --frame 0 --out out/look.png --scale 2 # a still, w
node tools/render.mjs intro # MP4; --out x.gif|x.webm|x.apng
node tools/gate.mjs intro # determinism, contract, dead air
node tools/emit.mjs intro --out out/intro.html # one self-contained offline player
-node <skill>/engine/tools/soundfetch.mjs list # what the sound pack holds, and what is installed
-node <skill>/engine/tools/soundfetch.mjs get all # download, verify by hash, unpack; then parts play recordings
+node <skill>/engine/tools/soundfetch.mjs list # the install directory and what is installed; no network
+node <skill>/engine/tools/soundfetch.mjs get all # the one command that downloads; then parts play recordings
```
| Tool | What it does |
diff --git a/skills/anidoodle/references/music/README.md b/skills/anidoodle/references/music/README.md
index d4c8c37..c1cbf5b 100644
--- a/skills/anidoodle/references/music/README.md
+++ b/skills/anidoodle/references/music/README.md
@@ -129,16 +129,20 @@ acoustic parts play recordings of real instruments and three rooms are recorded
Without it every score still plays, on the modelled voices, unchanged.
```bash
-node tools/soundfetch.mjs list # what the pack holds, and what is installed on this machine
-node tools/soundfetch.mjs get all # download, verify by hash, unpack; only `get` touches the network
+node tools/soundfetch.mjs list # the install directory and what is installed; no network
+node tools/soundfetch.mjs get all # the one command that downloads: hash, unpack, install
node tools/soundfetch.mjs where # the install directory
-node tools/soundfetch.mjs verify # re-hash everything installed
+node tools/soundfetch.mjs verify # re-hash every installed file
node tools/soundfetch.mjs remove <id> # drop one instrument, or `rooms`
```
-It installs to `ANIDOODLE_SOUNDS`, or `~/.anidoodle/sounds`. `ANIDOODLE_SOUNDS_URL` points the
-fetch at a different release. The engine finds an installed pack on its own; to render from a pack
-directory without installing it, pass `--sounds <dir>` to `music.mjs`.
+`get` names the ids it wants, or `all`. It installs to `ANIDOODLE_SOUNDS`, or
+`~/.anidoodle/sounds`, and refuses any archive whose size or sha256 disagrees with the index
+before it unpacks. `ANIDOODLE_SOUNDS_URL` points the fetch at a different release; point it at a
+local directory or a `file://` URL and `list` also prints what is available there, since a local
+source is read off disk. Against the GitHub release `list` reads the installed manifest alone and
+prints that the index is fetched by `get` only. The engine finds an installed pack on its own; to
+render from a pack directory without installing it, pass `--sounds <dir>` to `music.mjs`.
| Part | `variant` | Recording | Range | What it brings |
|---|---|---|---|---|