M2DX-Core: from a note to audio
M2DX-Core is the Swift 6 synthesis library, separate from the app and its plug-in wrapper. It implements operators, the 32 algorithms, envelopes, pitch and scaling, voice allocation, patch structures and synthesis-side controller handling. The app provides connections, MIDI-CI/PE, interface, purchases, storage and effects.
Modern, Mark I, Depth and Vintage DAC
Modern uses the integer sine-and-gain kernel associated with the MSFA-style reference model. It is not a separate “Clean Float32” engine. Mark I uses a logarithmic sine/exponential model informed by public descriptions of the original OPS behavior: it folds phase into a quadrant, combines logarithmic attenuation, then converts back to amplitude. It is not a cycle-accurate simulation of every original chip operation.
Core contains sample comparisons of the Modern integer calculations against an Apache-licensed MSFA/Dexed reference. Some tests inject reference phase increments to isolate the kernel; production pitch calculation is a separate path. Mark I tests compare against an independently written C twin, including a ÷8 test condition that differs from the app’s ÷1 default. These tests do not prove that every final app output, Dexed setting or physical DX7 recording is bit-identical.
Licenses: M2DX-Core is Apache-2.0, MIDI2Kit is MIT, and the M2DX app has its own proprietary license. The test-only C reference is not the production Swift library. See Core LICENSE, NOTICE, Mark I kernel and comparison-test conditions.
M2DX-Core: from a note to audio · What the released MIDI paths actually support
.package(url: "https://github.com/hakaru/M2DX-Core", from: "1.25.0")