gamercade-io / gamercade_console

A Neo-Retro Fantasy Console. Make WASM-powered, networked multiplayer games.
https://gamercade.io
Apache License 2.0
166 stars 10 forks source link

Move LUT Generation to build/compile Time #17

Open RobDavenport opened 1 year ago

RobDavenport commented 1 year ago

Currently, we force users to generate both the FM Synth lookup table SIN_LUT and the Notes lookup table NOTES_LUT during initialization. This is quite tedius during tests and prone to user error.

It's possible to generate constant values and import them through a build.rs script.