mirror of
https://github.com/imjasonh/nescript
synced 2026-07-12 02:30:57 +00:00
audio: triangle and noise sfx channels
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
This commit is contained in:
parent
8610aecdac
commit
201664ea04
18 changed files with 1116 additions and 52 deletions
1
tests/emulator/goldens/noise_triangle_sfx.audio.hash
Normal file
1
tests/emulator/goldens/noise_triangle_sfx.audio.hash
Normal file
|
|
@ -0,0 +1 @@
|
|||
a82b6ff5 132084
|
||||
BIN
tests/emulator/goldens/noise_triangle_sfx.png
Normal file
BIN
tests/emulator/goldens/noise_triangle_sfx.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 843 B |
Loading…
Add table
Add a link
Reference in a new issue