| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The synth block goes to the speakers with f.audioBuffer, made to keep
in.lead queued; in_flight, discard and lead_seconds are gone, and a
chord's jump is the stream's clear alone (nothing is on its way back to
drop). The block is still read back, a frame later, for the scope.
The sound is the same: with the block fixed at 800 samples a frame, the
play script and a script that plays every chord key (seven jumps) push
the same samples before and after, to the bit (849600 and 1164007 of
them), the new one a frame sooner. A change leaves for the device in
19 to 27 ms on average (three one-minute runs on a loaded machine)
instead of 96 (dummy driver, 60 Hz, SDL's 1024-sample pulls). The
empty Store declaration the brief mentioned is not in this sketch
(main.zig says "No Store"); nothing was touched there.
Tests: zig build test, 75/75 steps, 3/3 tests (its play script now also
expects the stream fed).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
|
|
Both lived outside any repository, beside sketchbook, with manifests that
pointed at ../01-drat-meout/lib/sketchbook, which no longer exists. They
are copied into examples/micscope and examples/spheres (their sources,
shaders, tests, test material and web icons; not their caches, builds,
packages, state files or .gitignore, which the root's covers), their
manifests depend on "../.." as the other examples do, and their
READMEs link sketchbook there. Nothing else changed: both build against
today's library and pass their own zig build test (micscope 62/62 steps,
11/11 tests, its transport, record, render and tuner scripts; spheres
75/75 steps, 3/3 tests, its play script). The originals are untouched.
micscope's test/reference.flac (3.7 MiB, CC BY-SA 3.0, credited in its
test/README.md) is the rendering reference its render script opens. The
README lists both examples.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|