Welcome to the M2DX-Core support page.
M2DX-Core is a DX7-compatible FM synthesis engine written entirely in pure Swift. Its Int32 fixed-point kernel is cross-validated sample-for-sample against the open-source Dexed/msfa reference — a faithful DX7-style FM engine, not a cycle-accurate emulation of the original Yamaha OPS chip. No C or C++ in the shipping code.
Features
DEXED-Validated Precision
M2DX-Core uses Int32 fixed-point arithmetic throughout, cross-validated sample-for-sample against the Dexed/msfa reference across the operator, envelope, and scaling tests. It models DX7-style FM faithfully rather than cycle-accurately emulating the original hardware.
MIDI 2.0 Native
Built with native MIDI 2.0 support, M2DX-Core takes full advantage of per-note pitch bend, per-note expression, and high-resolution control data — enabling expressive playing not possible with MIDI 1.0.
Real-Time Safe
The audio processing path uses a lock-free architecture with no memory allocations on the audio thread, making M2DX-Core suitable for use in professional audio applications and AUv3 plugins.
Pure Swift
No C, no C++, no Objective-C bridging headers. M2DX-Core is written entirely in Swift, making it easy to integrate into any Swift or SwiftUI project as a Swift Package.
Integration
Swift Package Manager
Add M2DX-Core to your project using Swift Package Manager. In Xcode, go to File > Add Package Dependencies and enter the GitHub URL:
https://github.com/hakaru/M2DX-Core
Or add it directly to your Package.swift:
.package(url: "https://github.com/hakaru/M2DX-Core", from: "1.0.0")
Open Source
M2DX-Core is open source software released under the MIT License. Contributions, issues, and pull requests are welcome on GitHub:
Contact
If you have questions or feedback, please contact us at:
support@hakaru.net