Felucca-Engines
MIT-licensed C99 library of six fixed-point synthesis engines (analog, lofi, trio, wheel, noise, phase distortion) with shared DSP helpers, table generator and golden-hash tests, extracted from Felucca.

- Distribution
- Build from source yourself
- License notes
- Stated in LICENSE and the README. A firmware built with Felucca is GPL-3.0-only as a whole, but these files stay MIT.
- Source
- github.com https://github.com/hugelton/Felucca-Engines
- synth-engine
- sdk
- oscillator
- filter
- chiptune
- organ
- open-source
Description
Each engine is a table entry with eight parameters, presets and per-voice and per-block hooks, compiled as one translation unit with its host. The set is a two-oscillator analog voice, a chip voice with wave memory and arpeggio, a three-oscillator voice with ring modulation and sync, a tonewheel organ with drawbars and a rotary effect, a noise source through a resonant filter, and phase distortion with a wavefolder. The code uses fixed point only, with no allocation, and the sample rate is chosen when the tables are generated, from 32 to 96 kHz. tests/fe_host.c is a minimal host, and the test script renders 122 phrases and compares hashes. Felucca includes it as a submodule. The repository's description still says five engines; the README lists six.
Install notes
A library, not a flashable image. Clone it as a submodule with a host, generate the tables with tools/gen_engine_tables.py, and run sh tests/run.sh. Felucca (clone with --recurse-submodules) is the firmware that uses it.
Version history
| Version | Date | Notes |
|---|---|---|
| main @ 9a304aa | 2026-11-27 | No tagged releases; this is the latest commit. Since the previous row the lo-fi engine's tone filter is split so a WAVE change under a sounding voice no longer overflows 32 bits, and a variable in the ANALOG engine is renamed to stop it shadowing another. The project's golden renders are unchanged. |
| main @ 1fa016b | 2026-11-22 | No tagged releases; this is the latest commit. TRIO's filter now keeps its state when a note retriggers a voice still in its release, which removes a click with the cutoff closed. |
| main @ d026007 | 2026-10-28 | No tagged releases; this is the latest commit. |