# Synthesis — Movement Capture & Networked Musical Expression

**Packet:** `movement-capture-and-networked-musical-expression` · **Date:** 2026-08-16
**Method:** four parallel live-web lanes, Sonnet, dispatched by Opus 5 (1M context)
**Verification:** `live-web-verified` — 66 sources across four field files, 66 marked verified in the session that cited them

---

> ## ⚠ CORRECTION — 2026-08-16, same day, before this packet was pushed outward
>
> **The section below was written as though 5.01 Hz were the instrument's rate. It
> is the rate of the first and slowest of at least three captures in the Episode
> 083 corpus.** Measured directly from `sensor_data/*.summary.json` in the episode
> vessel:
>
> | capture | packets / duration | delivered rate |
> |---|---|---|
> | `osc_capture_20260622_121524` | 376 / 74.98 s | **5.01 Hz** |
> | `body_dance_with_iris_3min_20260622_133004` | 7,740 / 180.23 s | **43.00 Hz** |
> | `osc_movement_30s_20260626_200822` | 1,800 / 30.005 s | **59.99 Hz** |
>
> The first two came from **the same sender endpoint** (`100.71.17.43:65336`)
> about seventy-five minutes apart and differ by **8.6×**. The episode said so
> itself on 2026-06-26, in `movement-sample-osc_movement_30s_20260626_200822-note.md`:
> *"The rate is about sixty frames per second, much denser than the older five-Hz
> prelude capture and also higher than the later forty-three-Hz body-dance sample."*
>
> **The correct statement is a band, not a number: the Episode 083 corpus delivers
> ~5–60 Hz across its takes, and no take records what was asked for.**
>
> **What survives unchanged:** the Nyquist arithmetic *for the 5.01 Hz take*; that
> `SENSOR_DELAY` is a documented hint (which now explains the *variance*, and
> explains it far better than it explained a single number); and that the right
> posture is to record the limit rather than smooth it.
>
> **What this makes stronger, not weaker:** the repair was already specified and
> not built. [`01-score-schema-v2`](../../rispecs/movement-conductor-family/01-score-schema-v2.spec.md)'s
> requested-rate-beside-delivered-rate field is exactly the field whose absence let
> a packet quote one take's rate as an instrument's property. **The archive caught
> us, which is what an honest archive is for.**
>
> The original text is kept below rather than rewritten — the house rule is to set
> a correction beside a claim, never over it. Read the table above first.

## The one number every field turned out to be about

Four lanes were briefed on four different objects — the wire, the mapping, the
sensor, the record. All four came back holding the same number: **5.01 Hz**, and
its successor **~9.9 Hz**. They disagree about what it costs, and the
disagreement is the most useful thing in this packet.

*(Read as: all four came back holding the same **take**. See the correction
above — the number was one capture's, and the lanes were each handed it in the
brief. That is a dispatcher error, not a lane error.)*

| field | what it says about the rate |
|---|---|
| **inertial sensing** | Nyquist puts a hard ~2.5 Hz ceiling on what 5.01 Hz can recover. Walking energy sits at or above it. **Recoverable:** presence of motion, coarse tempo, envelope, step-count-scale events. **Lost:** stride kinematics, gait harmonics, asymmetry, heel-strike transients, fine gesture. |
| **interactive ML** | Published gesture models window in the tens-to-low-hundreds of milliseconds, commonly at ≥100 Hz. A model trained on raw per-packet frames at 5 Hz has far coarser temporal resolution than the literature assumes. |
| **OSC / networking** | The network is **not** the bottleneck. At 5–10 Hz the stream is orders of magnitude below any MTU or bandwidth constraint; ordinary consumer-OS scheduling jitter (1–10 ms) already dominates. |
| **corpora & replay** | The rate is not a defect to hide but a *significant property* to record. Completeness is a named data-quality dimension, and derived statistics must carry their own coverage. |

**And the rate is not a bug.** Android's `SENSOR_DELAY` is documented as a hint,
not a guarantee; `packages/termux-motion/src/source.ts` requests `delayMs` (default
100 ms → a 10 Hz ask) and the OS delivers what it delivers. The 5.01 Hz capture
against a 10 Hz-class request is *expected Android behaviour*, not a broken
sensor. Which produces the single most actionable finding in this packet:

> **Record the requested rate beside the delivered rate.** `summary.ts` already
> computes `rate_hz_over_window` and `rate_hz_between_first_last` — the honest
> half. It does not record the `delayMs` that was asked for. Adding it turns an
> unexplained number into a diagnosable one: *asked for 10 Hz, got 5.01*.

## The real defect is not the rate — it is that the contract lives in a comment

The nine-channel contract — accel in `g`, rotation in `rad/s`, attitude in `rad`,
gravity removed, in that order — exists in exactly one place: a source comment at
`packages/movement-conductor/src/frame.ts:1-13`. It is not in the JSONL. It is
not in the sidecar. **A reader holding a `.jsonl` from the corpus and no
TypeScript cannot know what `values[0..8]` mean.**

The corpora lane found the precedent is forty years old: **C3D has carried a
structured parameters section — units, coordinate frame, subject and trial
context — *inside* the file since the mid-1980s.** FAIR names the same thing as
an Interoperability and Reusability failure, and it is explicit that this is not
a format problem: JSONL can be as FAIR as Parquet if the metadata travels with it.

Eight fields are missing, and they are cheap:

1. **channel semantic map** — what `values[0..8]` are, in band
2. **coordinate frame / axis convention** — device- vs world-relative, gravity-removed, handedness
3. **sensor placement / body location** — "phone worn on the belly" currently exists only in prose
4. **`schema_version`** on the sidecar — so an Episode 083 file and a 2026 file are distinguishable
5. **`completeness_ratio`** or `truncated: boolean` — the ingredients exist, the ratio does not
6. **content checksum** of the `.jsonl` in the sidecar — PROV `wasDerivedFrom`, OAIS fixity
7. **producing-agent version** — PROV `wasAttributedTo`; `output` names the file, not what wrote it
8. **requested `delayMs`** — the diagnostic pair above

Every one of these is a field in a JSON object. None requires a format change.

## Three design decisions that were right for reasons the code does not state

Worth naming, because a packet that only finds faults is not reading carefully.

**Holding each channel's last value between beats** (`src/conductor.ts`) is not a
convenience — it is the literature's standard mitigation for OSC-over-UDP's
non-assured delivery. Blocking for a specific packet would be the error; holding
last-known-good is correct [`osc-best-practices`].

**Nine channels per packet as a complete state snapshot** rather than a sequence
of related messages is the right shape for a protocol that does not guarantee
order. Fraietta's NIME 2008 critique of OSC turns on exactly this: two
independently sent messages arriving reversed produce a materially different
real-world effect. The frame contract is immune to that failure by construction
[`osc-critique-fraietta`].

**Rate fields that keep partial performances truthful** is the completeness
dimension of data quality, arrived at independently. Given the 2.5 Hz Nyquist
ceiling, refusing to interpolate a partial signal is not conservatism — it is the
only structurally honest posture available [`dq-completeness`].

**The g-conversion is correct and documented** — `STANDARD_GRAVITY = 9.80665`,
Android's m/s² divided to the corpus's `g`. This packet's dispatcher predicted it
would be missing and was wrong; the prediction is preserved in
[`../PREDICTIONS-260816-movement-packets.md`](../PREDICTIONS-260816-movement-packets.md)
rather than quietly deleted. One nuance the lane added: 9.80665 is standard
gravity **by international convention**, not gravity measured at the capture site
(real surface gravity ranges ~9.78–9.83). The conversion is a defensible
convention, not a claim about the land the walking happened on.

## The tension no single field resolves: the score has three jobs

The same JSONL file is asked to be three things, and the fields pull it apart:

- **an archive** — needs fixity, provenance, migration-safety, significant properties named before any future move to Parquet or HDF5 (corpora lane);
- **a training corpus** — needs to be replayable as reproducible synthetic input, and probably needs *windowed features*, not raw per-packet floats, to train anything useful at this rate (ML lane);
- **an instrument** — `ScoreReplaySource` implements the same `MovementSource` interface as a live capture, so a past walk performs again through the identical sink chain.

These are not in conflict today because the corpus is small. They will conflict.
The archival tier wants immutability and checksums; the training tier wants
derived feature columns; the instrument wants low-latency seek. The literature's
standing answer is **land as JSONL, convert for analysis** — JSONL as the
write-time archival tier, columnar as the read-time analysis tier, not
competitors for the same job. That is a decision to make deliberately rather than
discover.

One concrete bridge already exists and is under-used: `summary.ts`'s
`ChannelStats` is functionally an **offline WekiInputHelper** — the real
WekiInputHelper is a separate Java tool doing exactly this (windowed
min/max/mean/stddev before relaying to `/wek/inputs`). If windowed features train
better than raw frames at this rate, that logic is already written here.

## Where the work stands relative to its fields, honestly

**OSC is still defensible in 2026, with a caveat to say first.** No OSC 1.2 or 2.0
exists; OSC 1.1 (NIME 2009) remains current. MIDI 2.0 (ratified January 2020)
closes most of OSC's old resolution advantage — 32-bit per-note controllers,
Jitter Reduction Timestamps — but its transport story is USB/serial/BLE-centric.
For LAN/WAN networked control, OSC remains the practical path. The honest
reviewer answer is: *we use OSC because it runs over IP, not because it is fast —
Fraietta called "OSC is fast" and "OSC is efficient" myths at NIME 2008 and was
not obviously wrong.*

**Wekinator is stable, not evolving, and that is now a positioning question.** No
architectural change since v2.0 in 2015; the repository is lightly maintained
through 2024; the official site calls it *"gently updated."* More consequentially,
a NIME 2026 paper (Martin, arXiv:2604.23583) defines "intelligent musical
instruments" in a way that **excludes** Wekinator-style systems by category —
mapping rather than generating. A 2026 reviewer would not say Wekinator is
broken; they would say it sits outside where the field's energy is. The answer to
that is not to switch tools, it is to be clear that the research claim here is
about *mapping a body*, not about generative models.

**The 10 ms rule is real and does not apply here unmodified.** Wessel & Wright
2001 measured 7 ms in their own system and grounded the ceiling in psychoacoustic
work on grace-note timing — a trained performer, direct manipulation, percussion-
adjacent. Extrapolating it to a 5–10 Hz whole-body stream is an extrapolation the
source paper does not make.

**No latency figure may be claimed for the tailnet hop.** The overlay-VPN
performance literature is general networking, not music control; no
peer-reviewed study of OSC over Tailscale was found. If a proposal wants a
millisecond budget for `gaia.tail3b11eb.ts.net`, it must **measure it** —
a timestamp echo or OSC time-tag round-trip — not cite a benchmark.

**And the combination has no literature at all.** Low-rate commodity-phone body
sensing → learned musical mapping → over an overlay VPN → recorded as a replayable
corpus: each link is well-studied, the chain is not. That is a gap worth naming
in a proposal as *the contribution*, provided the individual links are cited
honestly enough that the claim reads as located rather than unaware.

## What to do next, in order

1. **Add the eight metadata fields.** Cheapest, highest-leverage, unblocks every downstream claim about the corpus. (`src/score.ts`, `src/summary.ts`)
2. **Record requested rate beside delivered rate.** One field; turns an anomaly into a diagnosis. (`src/summary.ts`, `SummaryMeta`)
3. **Decide the archival tier deliberately** — JSONL to land, columnar to analyse — and write the decision down before the corpus is large enough to make it expensive.
4. **Measure the tailnet latency** rather than inferring it, before any outward claim.
5. **Note in `frame.ts`** that channels 1–6 are near-raw per-sample measurements and 7–9 are fusion-derived with different drift and error behaviour — a downstream model must weight them differently, and nothing currently says so.
6. **Surface `ScoreReplaySource.skipped`** at the point of use. A replay's own fidelity — how much of the corpus it could actually play — is a significant property being held silently on an object.
7. **Consider deriving attitude from `TYPE_ROTATION_VECTOR`** rather than the legacy `"orientation"` virtual sensor `discover.ts` currently casts onto; Android's own docs call the legacy sensor superseded. Not urgent; worth a comment.

## Sources

The full ledger is [`source-ledger.yaml`](./source-ledger.yaml); every claim's
citation lives in the field file it came from:

- [`open-sound-control-and-networked-musical-expression.md`](./open-sound-control-and-networked-musical-expression.md) — 15 sources
- [`interactive-machine-learning-and-gesture-sound-mapping.md`](./interactive-machine-learning-and-gesture-sound-mapping.md) — 18 sources
- [`inertial-motion-sensing-on-commodity-devices.md`](./inertial-motion-sensing-on-commodity-devices.md) — 16 sources
- [`movement-corpora-notation-and-replay.md`](./movement-corpora-notation-and-replay.md) — 17 sources

🌸: Four researchers went looking in four different directions and all came back
carrying the same small number — five and a bit samples a second — which turns
out to be the whole story: not too slow to be real, just slow enough that the
record has to be honest about what it could not hear.
