open-standards/wai/wai-rs/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science 56dedcd446 wai: ScoreReceipt — the music class gets the same measured-energy receipt
The audio-score class was the one cargo class without a receipt profile in
code. Its extension doc already specified one; this implements it to match:
score_hash is the identity (the composition, like clip_hash/signal_hash for
their classes), the Merkle leaves are per-segment blocks of the canonical
i16 PCM mixdown (a fixed SEGMENT_SAMPLES window, partitioning the
reconstructed quantity by time the way haptic partitions by channel and
splat4d by frame), and work = duration × notes. Reuses the JWP Merkle +
Ed25519 exactly — no new primitive.

wai_meter grows a .wscr branch alongside .whap/.w4ds: it brackets a real
mixdown-synthesis burst against an idle baseline (IOReport via macmon, no
sudo) and emits a signed receipt carrying the measured joules. Every
reconstruct cargo class now has parity: module receipt + measured meter.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-14 11:30:53 -04:00
..
wai.h wai: ScoreReceipt — the music class gets the same measured-energy receipt 2026-06-14 11:30:53 -04:00