CH·105 Procedural & synthesis
verified 2026-08-01

zzfx-rs active

meowous3 vunknown added 2026-08-01 verified 2026-08-01

[Use when]

You need to synthesize procedural sound effects in Rust without a playback backend dependency, using the ZzFX parameter set.

Engines
* Engine-agnostic S Standalone
License

MIT

Pricing

Free

Last verified

2026-08-01

Added

2026-08-01

about

zzfx-rs is a Rust port of ZzFX, the minimal procedural SFX synthesizer originally written in JavaScript by Frank Force. It exposes all 21 ZzFX buildSamples parameters and outputs mono f32 PCM, leaving playback entirely to the caller — compatible with CPAL, rodio, SDL, WAV encoders, or any game engine audio pipeline.

The library has zero dependencies in its default build. Deterministic rendering is supported via caller-supplied random sources. A legacy generator mode reproduces the ZzFXM 2.0.3 behavior for song rendering compatibility. Optional Serde support enables preset serialization.

A separate egui demo application provides a full parameter editor with waveform preview, preset randomization, native playback (PulseAudio/PipeWire), and WAV export — without pulling GUI or audio deps into the library crate. The crate is not yet published to crates.io and must be installed directly from GitHub.