{"id":30033479,"url":"https://github.com/copych/esp32-s3_fm_drum_synth","last_synced_at":"2025-08-06T22:35:54.805Z","repository":{"id":307315180,"uuid":"1025797624","full_name":"copych/ESP32-S3_FM_Drum_Synth","owner":"copych","description":"ESP32-S3 based FM Drum synthesizer","archived":false,"fork":false,"pushed_at":"2025-07-30T14:48:18.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-30T17:09:21.299Z","etag":null,"topics":["drums","dx","fm","midi","synth","synthesizer","usb"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/copych.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}},"created_at":"2025-07-24T20:19:48.000Z","updated_at":"2025-07-30T14:48:22.000Z","dependencies_parsed_at":"2025-07-30T17:20:02.765Z","dependency_job_id":null,"html_url":"https://github.com/copych/ESP32-S3_FM_Drum_Synth","commit_stats":null,"previous_names":["copych/esp32-s3_fm_drum_synth"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/copych/ESP32-S3_FM_Drum_Synth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copych%2FESP32-S3_FM_Drum_Synth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copych%2FESP32-S3_FM_Drum_Synth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copych%2FESP32-S3_FM_Drum_Synth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copych%2FESP32-S3_FM_Drum_Synth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/copych","download_url":"https://codeload.github.com/copych/ESP32-S3_FM_Drum_Synth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copych%2FESP32-S3_FM_Drum_Synth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269169113,"owners_count":24372046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-06T02:00:09.910Z","response_time":99,"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":["drums","dx","fm","midi","synth","synthesizer","usb"],"created_at":"2025-08-06T22:35:49.216Z","updated_at":"2025-08-06T22:35:54.792Z","avatar_url":"https://github.com/copych.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32-S3 FM Drum Synth\n\nA high-performance FM drum synthesizer built for the ESP32-S3.  \nSupports multi-operator FM synthesis, realtime MIDI control, patch editing via OLED+encoder UI, and flexible drumkit management.\n\n---\n\n## ✨ Features\n\n- ✅ **6-operator FM synthesis** with 17 extendable routing algorithms \n- ✅ **Custom envelope engine** with hold, fast-release, and block-aware processing\n- ✅ **Stereo audio output** via I2S, using normalized float-to-int audio pipeline\n- ✅ **Per-note drumkits** with full patch mapping to GM MIDI notes (128-note map)\n- ✅ **Real-time MIDI control** (USB or serial), including velocity and retriggers\n- ✅ **On-device GUI** via SH1106 OLED + rotary encoder + buttons\n- ✅ **Waveform blending**: sine, triangle, square, saw, noise, and inverted variants\n- ✅ **Nonlinear SVF filter with drive** per voice\n- ✅ **Per-voice reverb send**, globally editable reverb parameters\n- ✅ **Optimized DSP math**: fast sine, LUTs, `fast_fabsf`, saturators, etc.\n- ✅ **Extremely low latency** voice allocator with note stealing and `MAX_VOICES_PER_NOTE` control\n- ✅ **Drumkit save/load** via JSON on SD (or LittleFS, configurable)\n- ✅ **Modular architecture**: patching, voice engine, allocator, GUI, and storage are decoupled\n\n---\n\n## 🧠 Architecture Overview\n\n```text\n\n\nEach FmVoice6:\n    - 6x FmOperator\n    - Flexible routing (17 algorithms)\n    - Filter + envelope\n    - Reverb send\n\nEach FmOperator:\n    - Multiple waveforms\n    - Separated fmProcess(), amProcess(), outProcess()\n    - Internal feedback\n```\n\na demo recording [Demo MP3](https://github.com/copych/ESP32-S3_FM_Drum_Synth/raw/refs/heads/main/media/05-250801_1607.mp3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopych%2Fesp32-s3_fm_drum_synth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopych%2Fesp32-s3_fm_drum_synth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopych%2Fesp32-s3_fm_drum_synth/lists"}