summaryrefslogtreecommitdiff
path: root/src/gpu/Present.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 00:21:06 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commit20bfc56562068ff963281d562cba17a65880ec2d (patch)
tree71a17fdf19436a03d38918695571d2fa14600205 /src/gpu/Present.zig
parentc37f1b3b1374df2a2a434d16cd772a4bb00c567e (diff)
downloadsketchbook-20bfc56562068ff963281d562cba17a65880ec2d.tar.gz
sketchbook-20bfc56562068ff963281d562cba17a65880ec2d.zip
README: what the sound code does now, and the truth about sound on the web
The sound section says what each part does: voices with their rate and group and f.gain, when the host mixes them (once a frame, topping its queue up to 2048 samples, about 43 ms, ahead of the device), streams and the microphone, the mixer's curve, newSound and sfxr (from the changes before this one), and that --export writes no sound. Known limits said synthesised voices were silent on the web. Every voice is: web.zig drops each .voice command (and now .gain), whatever its sound; decodeSound gives .none; loadSound knows only files the page decoded. It now says so, and what does sound there: streams and the microphone. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'src/gpu/Present.zig')
0 files changed, 0 insertions, 0 deletions