Skip to content
altstrument

Felucca-Engines

Tool for FM-1 (M-VAVE)

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.

by Leo Kuroshita (@kurogedelic), Hügelton Instruments

ActiveSource: openMIT
M-VAVE FM-1 FM synthesizer, top view
Photo: M-VAVE, manufacturer product image, via m-vave.com
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

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

Felucca-Engines version history
VersionDateNotes
main @ 9a304aa2026-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 @ 1fa016b2026-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 @ d0260072026-10-28
No tagged releases; this is the latest commit.

Back to FM-1