mirror of
https://github.com/imjasonh/nescript
synced 2026-07-08 17:06:04 +00:00
Adds `channel: triangle` / `channel: noise` to the `sfx` declaration form. The existing pulse-1 / pulse-2 driver is unchanged (and is still byte-identical for programs that don't use the new channels) — when a program declares a triangle or noise sfx the runtime splices in an additional per-channel slot that writes to $4008- $400B (triangle) or $400C-$400F (noise) on play. Includes a new `examples/noise_triangle_sfx.ne` demo with committed golden PNG + audio hash. https://claude.ai/code/session_01MaNVcDmK9gsspRkdxowQAM |
||
|---|---|---|
| .. | ||
| goldens | ||
| .gitignore | ||
| harness.html | ||
| package-lock.json | ||
| package.json | ||
| record_gif.mjs | ||
| run_examples.mjs | ||