{"id":50644867,"url":"https://github.com/merumerutho/lfe","last_synced_at":"2026-06-07T11:32:29.628Z","repository":{"id":354633509,"uuid":"1224471834","full_name":"merumerutho/lfe","owner":"merumerutho","description":"Lightweight Fixedpoint Engine: an offline-oriented DSP engine aimed at fixed-point resource-constrained architectures.","archived":false,"fork":false,"pushed_at":"2026-04-29T10:41:55.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-29T12:26:20.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/merumerutho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-29T10:09:40.000Z","updated_at":"2026-04-29T10:41:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/merumerutho/lfe","commit_stats":null,"previous_names":["merumerutho/lfe"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/merumerutho/lfe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merumerutho%2Flfe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merumerutho%2Flfe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merumerutho%2Flfe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merumerutho%2Flfe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/merumerutho","download_url":"https://codeload.github.com/merumerutho/lfe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merumerutho%2Flfe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34020187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-07T11:32:29.561Z","updated_at":"2026-06-07T11:32:29.621Z","avatar_url":"https://github.com/merumerutho.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LFE (Lightweight Fixed-point Engine)\n\nA portable C library for offline sample synthesis and effect processing,\nused as the sound-design backend of the maxtracker NDS music tracker.\n\nThe library is pure portable C with no libnds or NDS hardware dependencies.\nIt builds and tests standalone on any host with a C99 compiler.\nPlatform-specific optimizations (e.g. ARM9 ITCM placement) are opt-in\nvia compile-time gates and fall back to portable C otherwise.\n\n## Building\n\n### Host (development)\n\n```sh\nmake           # build liblfe.a\nmake test      # build everything, run tests, write WAV outputs\nmake clean\n```\n\nThe host build uses your system `gcc` (or override with `CC=clang make`).\nTest outputs go to `test/output/*.wav`.\n\n### Nintendo DS (production)\n\nThe NDS build is invoked from the top-level maxtracker Makefile when\n`LFE_ENABLED=1`. It uses devkitARM and produces `build_nds/liblfe.a`,\nwhich then gets linked into the maxtracker ARM9 binary.\n\n```sh\n# from the maxtracker top-level\nmake emulator           # LFE included\nmake emulator-nosynth   # LFE excluded\n```\n\nYou can also build the NDS library standalone:\n\n```sh\nmake -f Makefile_arm\n```\n\n## Public API\n\nThe single public header is `include/lfe.h`. Link against `liblfe.a`.\nEverything under `src/` is internal.\n\n- maxtracker on NDS includes `lfe.h` from `arm9/source/ui/waveform_view.c`\n  when `MAXTRACKER_LFE` is defined.\n- The standalone host test binary links the library and exercises each\n  generator with deterministic inputs.\n\n## Credits\n\nThe Braids generator (`src/gen/braids/`) is a fixed-point port of\nalgorithms from [Mutable Instruments Braids](https://mutable-instruments.net/),\ndesigned by Emilie Gillet. Original source released under GPLv3.\n\nThe Calvario oscillator-combine mode in the synth generator is based on\n[Calvario](https://github.com/HydrangeaSystems/Calvario) by Hydrangea Systems.\n\nThe OTT multiband compressor effect (`src/fx/fx_ott.c`) is inspired by\n[OTT](https://xferrecords.com/freeware) by Steve Duda / Xfer Records.\n\nBiquad filter coefficients (`src/util/biquad.c`) are derived from the\n[Audio EQ Cookbook](https://www.w3.org/2011/audio/audio-eq-cookbook.html)\nby Robert Bristow-Johnson.\n\n## Licensing\n\nLFE is **GPL-3.0-or-later**. See the `LICENSE` file for the full text.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerumerutho%2Flfe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmerumerutho%2Flfe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerumerutho%2Flfe/lists"}