ZzFX
Sub-1KB zero-dependency synth that generates game sound effects from a list of numeric parameters.
| Language | JavaScript |
|---|---|
| Category | Synthesis & DSP |
| License | MIT |
| Platforms | Web |
| Install | npm install zzfx (or inline the ~1KB snippet) |
| First released | 2019 |
| Maintained | Yes |
| Links | Website · Source |
Strengths
- Under 1KB compressed with no dependencies
- 20 parameters plus a web-based sound designer for tuning
- Ideal for js13k and other size-constrained projects
Limitations
- Aimed at short SFX, not musical instruments or long audio
- Cryptic numeric parameter arrays are hard to read/edit by hand
Best for
Tiny procedural game sound effects where every byte counts.
Minimal example
import { zzfx } from "zzfx";
zzfx(...[1,,270,,.1,.2,1,1.5,,,,,,,,,,.5]); // play a sound